<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: init.c 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00719_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">init.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00719.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="a00719.html#a3a75770af38d05856eb2e9d1867b471c">   14</a></span>&#160;<span class="preprocessor">#define OEMRESOURCE 1</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a03629.html">precomp.h</a>&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#pragma hdrstop</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * Local Constants.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="a00719.html#a78a2cd245ae3fc097177f0838bb7542f">   22</a></span>&#160;<span class="preprocessor">#define GRAY_STRLEN         40</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * Globals local to this file only.</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">   27</a></span>&#160;BOOL <a class="code" href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">bPermanentFontsLoaded</a> = FALSE;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">   28</a></span>&#160;<span class="keywordtype">int</span>  <a class="code" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a> = -1;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">extern</span> LPCWSTR  <a class="code" href="a00719.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a>;                        <span class="comment">// in server.c</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="a00719.html#a6502d781bd20234a06710b92d540baba">   50</a></span>&#160;NTSTATUS <a class="code" href="a00719.html#a6502d781bd20234a06710b92d540baba">DriverEntry</a>(</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    IN PDRIVER_OBJECT DriverObject,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    IN PUNICODE_STRING RegistryPath)</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;{</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    PVOID countTable;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#if !DBG</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    countTable = NULL;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">     * Allocate and zero the system service count table.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    countTable = (PULONG)ExAllocatePoolWithTag(NonPagedPool,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;                                               W32pServiceLimit * <span class="keyword">sizeof</span>(ULONG),</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;                                               <span class="stringliteral">&#39;llac&#39;</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">if</span> (countTable != NULL ) {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        RtlZeroMemory(countTable, W32pServiceLimit * <span class="keyword">sizeof</span>(ULONG));</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    }</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    KeAddSystemServiceTable(</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            W32pServiceTable,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            countTable,</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            W32pServiceLimit,</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            W32pArgumentTable,</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            W32_SERVICE_NUMBER</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            );</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    PsEstablishWin32Callouts(</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="a00680.html#acf9e2c7fe5f9c95e7c76d945174fb5ea">W32pProcessCallout</a>,</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        W32pThreadCallout,</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="a03665.html#a2c290ef957250277d511805c327d1c9f">UserGlobalAtomTableCallout</a>,</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        (PVOID)NtGdiFlushUserBatch,</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keyword">sizeof</span>(<a class="code" href="a02905.html">PROCESSINFO</a>),</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keyword">sizeof</span>(<a class="code" href="a02889.html">THREADINFO</a>)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        );</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="a03266.html#a82304bb979726869e03aca1d1d4180dd">Win32KBaseAddress</a> = MmPageEntireDriver(<a class="code" href="a00719.html#a6502d781bd20234a06710b92d540baba">DriverEntry</a>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordflow">if</span> (!InitializeGre()) {</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(FALSE);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    }</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160; </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">return</span> STATUS_SUCCESS;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;}</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="a00899.html#a6fbaa4f2c3cf36d69c0400f1413ac858">  109</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="a00719.html#a6fbaa4f2c3cf36d69c0400f1413ac858">xxxAddFontResourceW</a>(</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    LPWSTR lpFile,</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    FLONG  flags)</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;{</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    UNICODE_STRING strFile;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    RtlInitUnicodeString(&amp;strFile, lpFile);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">     * Callbacks leave the critsec, so make sure that we&#39;re in it.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00899.html#ad32f4181b42f076883d50a395e5ee530">xxxClientAddFontResourceW</a>(&amp;strFile, flags);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;}</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="a00719.html#afcc4ee0a9497b1d804ccfe735b9a3dc6">  131</a></span>&#160;VOID <a class="code" href="a00719.html#afcc4ee0a9497b1d804ccfe735b9a3dc6">LW_DriversInit</a>(VOID)</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;{</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="keyword">extern</span> KEYBOARD_ATTRIBUTES <a class="code" href="a00809.html#a4bcdf0a11674dc5a7c6747c3fe9eb38b">KeyboardInfo</a>;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">     * Initialize the keyboard typematic rate.</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <a class="code" href="a00809.html#a75f64630ec95048fa36feb77ad8e8b71">SetKeyboardRate</a>((<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)<a class="code" href="a03257.html#a2994c3b67bc2d3c7af7adaa11a8bccb0">nKeyboardSpeed</a>);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">     * Adjust VK modification table if not default (type 4) kbd.</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00809.html#a4bcdf0a11674dc5a7c6747c3fe9eb38b">KeyboardInfo</a>.KeyboardIdentifier.Type == 3)</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <a class="code" href="a00347.html#a29061e7f1dbc13f5bbd8ec075bde8efc">gapulCvt_VK</a> = <a class="code" href="a00347.html#ad8361627ac0856f5bbbd7d7b69daf80a">gapulCvt_VK_84</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;}</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a00719.html#a807cb88a984eca981c2de0d6762e97ff">  151</a></span>&#160;BOOL <a class="code" href="a00719.html#a807cb88a984eca981c2de0d6762e97ff">LoadCPUserPreferences</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;{</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwValue;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <a class="code" href="a03001.html">PPROFILEVALUEINFO</a> ppvi = <a class="code" href="a03257.html#a4f5134b432ea3720f65068e5e8f857db">gpviCPUserPreferences</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(SPI_UP_COUNT == <span class="keyword">sizeof</span>(<a class="code" href="a03257.html#a4f5134b432ea3720f65068e5e8f857db">gpviCPUserPreferences</a>) / <span class="keyword">sizeof</span>(*<a class="code" href="a03257.html#a4f5134b432ea3720f65068e5e8f857db">gpviCPUserPreferences</a>));</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a>())</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; SPI_UP_COUNT; i++, ppvi++) {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; </div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00821.html#a7c1fd3e46c9bf3a9b4f425e2e3ef705c">FastGetProfileValue</a>(ppvi-&gt;<a class="code" href="a03001.html#a3ac49f8e66551e660f7c90ed6cb24c77">uSection</a>, ppvi-&gt;<a class="code" href="a03001.html#a9c2868e2318a94e1f5ab3cc6c042c82d">pwszKeyName</a>, NULL,</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            (LPBYTE)&amp;dwValue, <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>))) {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            ppvi-&gt;<a class="code" href="a03001.html#aa657673cba197817acdfcce5a0707c1b">dwValue</a> = dwValue;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        }</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    }</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; </div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;}</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="a00899.html#a8ed4836e09deb53fff1a43a539211229">  183</a></span>&#160;VOID <a class="code" href="a00719.html#a8ed4836e09deb53fff1a43a539211229">LW_LoadProfileInitData</a>(VOID)</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;{</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    BOOL  fScreenSaveActive;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordtype">int</span>   nKeyboardSpeed2;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwFontSmoothing;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <a class="code" href="a03005.html">PROFINTINFO</a> apii[] = {</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        { PMAP_KEYBOARD, (LPWSTR)STR_KEYSPEED,             15, &amp;<a class="code" href="a03257.html#a2994c3b67bc2d3c7af7adaa11a8bccb0">nKeyboardSpeed</a> },</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        { PMAP_KEYBOARD, (LPWSTR)STR_KEYDELAY,              0, &amp;nKeyboardSpeed2 },</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSETHRESH1,          6, &amp;<a class="code" href="a03257.html#a2487ea2ba5c8f8cfa7471b0a20dc5d3e">MouseThresh1</a> },</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSETHRESH2,         10, &amp;<a class="code" href="a03257.html#af6cd9751dc0f38cad0fe90d7e945faf3">MouseThresh2</a> },</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSESPEED,            1, &amp;<a class="code" href="a03257.html#a8741f0bd2bf733c8fbef87e599e2eb5d">MouseSpeed</a> },</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_BLINK,               500, &amp;<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a337256ee4b9e7c11b14e88d307effa30">dtCaretBlink</a> },</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_DBLCLKSPEED,         500, &amp;<a class="code" href="a03257.html#ad846449b20bf30ca2a61fb9a236cbfd1">dtDblClk</a> },</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_SNAPTO,                0, &amp;<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ac4113b9c71fc9dabc2e2c5854d026d6e">fSnapTo</a> },</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_DOUBLECLICKWIDTH,      4, &amp;SYSMET(CXDOUBLECLK) },</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_DOUBLECLICKHEIGHT,     4, &amp;SYSMET(CYDOUBLECLK) },</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        { PMAP_WINDOWSU, (LPWSTR)STR_MENUDROPALIGNMENT,     0, &amp;SYSMET(MENUDROPALIGNMENT) },</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_MENUSHOWDELAY,         <a class="code" href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a>, &amp;<a class="code" href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a> },</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_DRAGFULLWINDOWS,       2, &amp;<a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> },</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_FASTALTTABROWS,        3, &amp;<a class="code" href="a03257.html#a1abc23ceeff97872cb88aa4600e7da70">nFastAltTabRows</a> },</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_FASTALTTABCOLUMNS,     7, &amp;<a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> },</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_SCREENSAVETIMEOUT,     0, &amp;<a class="code" href="a03257.html#a190de89de30966bef80ba543dcfaf812">iScreenSaveTimeOut</a> },</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_SCREENSAVEACTIVE,      0, &amp;fScreenSaveActive },</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_MAXLEFTOVERLAPCHARS,   3, &amp;(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a2293bf0ef428f41122dfa8291b92bfae">wMaxLeftOverlapChars</a>) },</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_MAXRIGHTOVERLAPCHARS,  3, &amp;(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a6d4a3d0da39a9625530bd9589823fbf0">wMaxRightOverlapChars</a>) },</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_FONTSMOOTHING,         0, &amp;dwFontSmoothing },</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        { PMAP_DESKTOP,  (LPWSTR)STR_WHEELSCROLLLINES,      3, &amp;<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a88b328bbd2874533737fda1bac5b42f5">ucWheelScrollLines</a> },</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        { PMAP_WINDOWSM, (LPWSTR)STR_DDESENDTIMEOUT,        0, &amp;<a class="code" href="a03257.html#aec7ff19e26adc101b25587d2cb55dfa0">guDdeSendTimeout</a> },</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSEHOVERWIDTH,       0, &amp;<a class="code" href="a03257.html#a3c299e89eb5b0923ac37cc8d29c65d06">gcxMouseHover</a> },</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSEHOVERHEIGHT,      0, &amp;<a class="code" href="a03257.html#a4a4dfda0c85b4e4ad2c10cb1f370df74">gcyMouseHover</a> },</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        { PMAP_MOUSE,    (LPWSTR)STR_MOUSEHOVERTIME,        0, &amp;<a class="code" href="a03257.html#a888092e560f7a0919213285de1407193">gdtMouseHover</a> },</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        { PMAP_METRICS,  (LPWSTR)STR_MINANIMATE,            1, &amp;<a class="code" href="a03257.html#a3f749009e2dddfbcdd946cdc60859d5d">gfAnimate</a> },</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        { 0, NULL, 0, NULL }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    };</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment">     * Control Panel User Preferences</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <a class="code" href="a00719.html#a807cb88a984eca981c2de0d6762e97ff">LoadCPUserPreferences</a>();</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="comment">     * read profile integers</span></div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <a class="code" href="a00821.html#aabe51cb8f870451f1872644c082156a2">UT_FastGetProfileIntsW</a>(apii);</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">     * do any fixups needed here.</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <a class="code" href="a03257.html#a2994c3b67bc2d3c7af7adaa11a8bccb0">nKeyboardSpeed</a> |= ((nKeyboardSpeed2 &lt;&lt; KDELAY_SHIFT) &amp; KDELAY_MASK);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keywordflow">if</span> (!fScreenSaveActive &amp;&amp; (<a class="code" href="a03257.html#a190de89de30966bef80ba543dcfaf812">iScreenSaveTimeOut</a> &gt; 0))</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <a class="code" href="a03257.html#a190de89de30966bef80ba543dcfaf812">iScreenSaveTimeOut</a> = -<a class="code" href="a03257.html#a190de89de30966bef80ba543dcfaf812">iScreenSaveTimeOut</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a1abc23ceeff97872cb88aa4600e7da70">nFastAltTabRows</a> &lt; 1)</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <a class="code" href="a03257.html#a1abc23ceeff97872cb88aa4600e7da70">nFastAltTabRows</a> = 3;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> &lt; 2)</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        <a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> = 7;</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a3c299e89eb5b0923ac37cc8d29c65d06">gcxMouseHover</a> == 0)</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <a class="code" href="a03257.html#a3c299e89eb5b0923ac37cc8d29c65d06">gcxMouseHover</a> = SYSMET(CXDOUBLECLK);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a4a4dfda0c85b4e4ad2c10cb1f370df74">gcyMouseHover</a> == 0)</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <a class="code" href="a03257.html#a4a4dfda0c85b4e4ad2c10cb1f370df74">gcyMouseHover</a> = SYSMET(CYDOUBLECLK);</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a888092e560f7a0919213285de1407193">gdtMouseHover</a> == 0)</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <a class="code" href="a03257.html#a888092e560f7a0919213285de1407193">gdtMouseHover</a> = <a class="code" href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="comment">     * If we have an accelerated device, enable full drag by default.</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> == 2) {</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        <span class="keywordflow">if</span> (GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, BLTALIGNMENT) == 0)</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> = TRUE;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> = FALSE;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    }</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment">     * Font smoothing</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a> ((dwFontSmoothing == 0) || (dwFontSmoothing == FE_AA_ON));</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    GreSetFontEnumeration( dwFontSmoothing | FE_SET_AA );</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160; </div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160; </div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;}</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="a00719.html#a253ba2455c12b938037ddf34010ea766">  278</a></span>&#160;VOID <a class="code" href="a00719.html#a253ba2455c12b938037ddf34010ea766">LW_LoadResources</a>(VOID)</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;{</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    WCHAR rgch[4];</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160; </div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="comment">     * See if the Mouse buttons need swapping.</span></div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_MOUSE,</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                                STR_SWAPBUTTONS,</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                                <a class="code" href="a00020.html#aa6a72bcda08bb85cd8c46b2980008ae6">szNull</a>,</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                                rgch,</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;                                <span class="keyword">sizeof</span>(rgch) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    SYSMET(SWAPBUTTON) = ((rgch[0] == *<a class="code" href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a>) || (rgch[0] == *<a class="code" href="a03257.html#ade9d7349a05eeafab71c77bbdad60ed9">szy</a>) || (rgch[0] == *<a class="code" href="a03257.html#abe81a3e7eac494f2a2f056e340f2afe2">sz1</a>));</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="comment">     * See if we should beep.</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_BEEP,</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;                                STR_BEEP,</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;                                <a class="code" href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a>,</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;                                rgch,</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;                                <span class="keyword">sizeof</span>(rgch) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <a class="code" href="a03257.html#ad16ba1d376392ea2e23fbea4fa166ad7">fBeep</a> = ((rgch[0] == *<a class="code" href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a>) || (rgch[0] == *<a class="code" href="a03257.html#ade9d7349a05eeafab71c77bbdad60ed9">szy</a>));</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="comment">     * See if we should have extended sounds.</span></div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_BEEP,</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;                                STR_EXTENDEDSOUNDS,</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;                                <a class="code" href="a03257.html#a0714aa134111134ba9c46aaf10a25adc">szN</a>,</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;                                rgch,</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;                                <span class="keyword">sizeof</span>(rgch) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160; </div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <a class="code" href="a03257.html#a8b8884d8d8e4d1f4f0393bf0e96dd90d">gbExtendedSounds</a> = (rgch[0] == *<a class="code" href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a> || rgch[0] == *<a class="code" href="a03257.html#ade9d7349a05eeafab71c77bbdad60ed9">szy</a>);</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;}</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160; </div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="a00899.html#aed7ae9715cd90116df17ee1e549c6e92">  324</a></span>&#160;BOOL <a class="code" href="a00719.html#a5638b444ba56a245b6a06f1c48fdb042">xxxInitWinStaDevices</a>(</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <a class="code" href="a02809.html">PWINDOWSTATION</a> pwinsta)</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;{</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    BOOL fSuccess;</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">     * call to the client side to clean up the [Fonts] section</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">     * of the registry. This will only take significant chunk of time</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment">     * if the [Fonts] key changed during since the last boot and if</span></div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<span class="comment">     * there are lots of fonts loaded</span></div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <a class="code" href="a00899.html#adfabb798e2ea4c25bb947a198b8cf1a0">ClientFontSweep</a>();</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160; </div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">     * Make valid, HKEY_CURRENT_USER portion of .INI file mapping</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    fSuccess =</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    <a class="code" href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a>();</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(fSuccess);</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160; </div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;<span class="comment">     * Load all profile data first</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;    <a class="code" href="a00719.html#a8ed4836e09deb53fff1a43a539211229">LW_LoadProfileInitData</a>();</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="comment">     * Initialize User in a specific order.</span></div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <a class="code" href="a00719.html#afcc4ee0a9497b1d804ccfe735b9a3dc6">LW_DriversInit</a>();</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;<span class="comment">     * Load the standard fonts before we create any DCs.</span></div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;<span class="comment">     * At this time we can only add the fonts that do not</span></div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="comment">     * reside on the net. They may be needed by winlogon.</span></div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="comment">     * Our winlogon needs only ms sans serif, but private</span></div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment">     * winlogon&#39;s may need some other fonts as well.</span></div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="comment">     * The fonts on the net will be added later, right</span></div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<span class="comment">     * after all the net connections have been restored.</span></div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    <a class="code" href="a00719.html#a2839959cac045c8e2426c585aefdb932">xxxLW_LoadFonts</a>(FALSE);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    <a class="code" href="a00719.html#a253ba2455c12b938037ddf34010ea766">LW_LoadResources</a>();</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160; </div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;<span class="comment">     * Initialize the input system.</span></div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    <a class="code" href="a00809.html#a654780ec59cf403be8fe142395154f54">InitInput</a>(pwinsta);</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160; </div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="comment">     * Static data (eg: szDDEMLEVENTCLASS) addr is &lt; MM_LOWEST_SYSTEM_ADDRESS.</span></div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="comment">     * This string may get passed to the user process (eg: if CBT hooking is</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="comment">     * on during xxxCsDdeInitialize). If we use a copy in shared pool, then we</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="comment">     * won&#39;t have to copy it out into user space, and the server-side callback</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="comment">     * stubs test MM_IS_SYSTEM_VIRTUAL_ADDRESS() will be adequate.</span></div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <a class="code" href="a03257.html#a1a25b2f7b86446546fbe19a67e20fc2a">gpwszDDEMLEVENTCLASS</a> = (LPWSTR)UserAllocPool((wcslen(<a class="code" href="a00719.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a>)+1)*<span class="keyword">sizeof</span>(WCHAR), TAG_DDEc);</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    RtlCopyMemory(<a class="code" href="a03257.html#a1a25b2f7b86446546fbe19a67e20fc2a">gpwszDDEMLEVENTCLASS</a>, <a class="code" href="a00719.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a>, (wcslen(<a class="code" href="a00719.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a>)+1)*<span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="comment">     * This is the initialization from Chicago</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    <a class="code" href="a00716.html#aa84edae0e7919ca4f55d198b201a3e5a">SetWindowNCMetrics</a>(NULL, TRUE, -1);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <a class="code" href="a00716.html#a0df9d021542718987a45d43d815c161c">SetMinMetrics</a>(NULL);</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <a class="code" href="a00716.html#acd52966f6d457f68619ccb6006e4fccf">SetIconMetrics</a>(NULL);</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="comment">     * Allocate space for ToAscii state info (plus some breathing room).</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <a class="code" href="a03257.html#addf15f6f42e3d7434a031cbe147b9bd7">pState</a> = (BYTE *)UserAllocPool(16, TAG_KBDTRANS);</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03257.html#addf15f6f42e3d7434a031cbe147b9bd7">pState</a>) {</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Out of memory during usersrv initialization&quot;</span>);</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="comment">     * Initialize the Icon Parking Lot.</span></div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <a class="code" href="a00719.html#a67b4aa403d939b6ff87059f65a96252f">LW_DesktopIconInit</a>(NULL);</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; </div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;    <a class="code" href="a00719.html#ac25433f528d8c8edcc8620bbf1cc337a">xxxFinalUserInit</a>();</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; </div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;<span class="comment">     * Initialize the key cache index.</span></div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a125933441b95aca04386827b052dfe42">dwKeyCache</a> = 1;</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160; </div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;<span class="comment">     * Make invalid, HKEY_CURRENT_USER portion of .INI file mapping</span></div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; </div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;}</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160; </div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno"><a class="line" href="a00899.html#a48c4c0ff3ac637cb55a5e8898cd67807">  433</a></span>&#160;VOID <a class="code" href="a00719.html#a48c4c0ff3ac637cb55a5e8898cd67807">LW_LoadSomeStrings</a>(VOID)</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;{</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_UNTITLED, <a class="code" href="a03257.html#addda7b597eb0cef9c87a5d0b353c012c">szUNTITLED</a>, 15);</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;   <span class="comment">/*</span></div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;<span class="comment">    * MessageBox strings</span></div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_OK,     <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a5016bf6e3234c4609b6c7866e0989e49">szOK</a>,     <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a5016bf6e3234c4609b6c7866e0989e49">szOK</a>)     / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_CANCEL, <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aa1261ab9a9e71ca59200a15e00b11520">szCANCEL</a>, <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aa1261ab9a9e71ca59200a15e00b11520">szCANCEL</a>) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_YES,    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a8a3f3844be2a8a13d60b63c522aa52dd">szYES</a>,    <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a8a3f3844be2a8a13d60b63c522aa52dd">szYES</a>)    / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_NO,     <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af466f985b45b51d9eafae62842a91522">szNO</a>,     <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af466f985b45b51d9eafae62842a91522">szNO</a>)     / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_RETRY,  <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a5e7a3331725493ebc7e716c296c86e24">szRETRY</a>,  <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a5e7a3331725493ebc7e716c296c86e24">szRETRY</a>)  / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_ABORT,  <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ac2a106853e37d6dacaa513e71f9c6e00">szABORT</a>,  <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ac2a106853e37d6dacaa513e71f9c6e00">szABORT</a>)  / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_IGNORE, <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a66696b4025ed7f9aaabcdac8402558b0">szIGNORE</a>, <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a66696b4025ed7f9aaabcdac8402558b0">szIGNORE</a>) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_CLOSE,  <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a828ad43fd9e20e8f5c0457a953f04c65">szCLOSE</a>,  <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a828ad43fd9e20e8f5c0457a953f04c65">szCLOSE</a>)  / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;   ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>, STR_HELP,   <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a79a0ad1222701f3a04d76bfc5f2543f8">szHELP</a>,   <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a79a0ad1222701f3a04d76bfc5f2543f8">szHELP</a>)   / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;}</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; </div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; </div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="a00899.html#a72ef54e7cd33b78219fba2e112359f00">  460</a></span>&#160;VOID <a class="code" href="a00719.html#a72ef54e7cd33b78219fba2e112359f00">LW_LoadDllList</a>(VOID)</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;{</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    LPWSTR pszSrc;</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    LPWSTR pszDst;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    LPWSTR pszBase;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    <span class="keywordtype">int</span>    cch;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    <span class="keywordtype">int</span>    cchAlloc = 32;</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    WCHAR  ch;</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160; </div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a> = NULL;</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; </div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;    pszSrc = (LPWSTR)UserAllocPool(cchAlloc * <span class="keyword">sizeof</span>(WCHAR), TAG_SYSTEM);</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; </div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <span class="keywordflow">if</span> (pszSrc == NULL)</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; </div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    cch = <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_WINDOWSM, STR_APPINIT, <a class="code" href="a00020.html#aa6a72bcda08bb85cd8c46b2980008ae6">szNull</a>, pszSrc, cchAlloc);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160; </div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;    <span class="keywordflow">if</span> (cch == 0) {</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;        UserFreePool(pszSrc);</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;        pszSrc = NULL;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;    }</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160; </div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;<span class="comment">     * If the returned value is our passed size - 1 (weird way for error)</span></div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;<span class="comment">     * then our buffer is too small. Make it bigger and start over again.</span></div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;    <span class="keywordflow">while</span> (cch == cchAlloc - 1) {</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160; </div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        cch = cchAlloc;</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;        cchAlloc += 32;</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160; </div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;        pszDst = (LPWSTR)UserAllocPool(cchAlloc * <span class="keyword">sizeof</span>(WCHAR), TAG_SYSTEM);</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; </div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;        <span class="keywordflow">if</span> (pszDst == NULL) {</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;            UserFreePool(pszSrc);</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;            pszSrc = NULL;</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;            <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        }</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; </div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;        RtlCopyMemory(pszDst, pszSrc, cch);</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        UserFreePool(pszSrc);</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;        pszSrc = pszDst;</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;        cch = <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_WINDOWSM,</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;                                          STR_APPINIT,</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;                                          <a class="code" href="a00020.html#aa6a72bcda08bb85cd8c46b2980008ae6">szNull</a>,</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;                                          pszSrc,</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;                                          cchAlloc);</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    }</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(cch);</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160; </div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;<span class="comment">     * Strip out extraneous spaces and commas and delimit DLL names with</span></div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;<span class="comment">     * &#39;\0&#39;s.</span></div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;    pszBase = pszDst = pszSrc;</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <span class="keywordflow">while</span> (*pszSrc != TEXT(<span class="charliteral">&#39;\0&#39;</span>)) {</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; </div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        <span class="keywordflow">while</span> (*pszSrc == TEXT(<span class="charliteral">&#39; &#39;</span>) || *pszSrc  == TEXT(<span class="charliteral">&#39;,&#39;</span>))</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;            pszSrc++;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; </div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        <span class="keywordflow">if</span> (*pszSrc == TEXT(<span class="charliteral">&#39;\0&#39;</span>))</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; </div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;        <span class="keywordflow">while</span> (*pszSrc != TEXT(<span class="charliteral">&#39;,&#39;</span>)  &amp;&amp;</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;               *pszSrc != TEXT(<span class="charliteral">&#39;\0&#39;</span>) &amp;&amp;</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;               *pszSrc != TEXT(<span class="charliteral">&#39; &#39;</span>)) {</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;            *pszDst++ = *pszSrc++;</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;        }</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160; </div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        ch = *pszSrc;               <span class="comment">// get it here cuz its being done in-place.</span></div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;        *pszDst++ = TEXT(<span class="charliteral">&#39;\0&#39;</span>);     <span class="comment">// &#39;\0&#39; is dll name delimiter</span></div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;        pszSrc++;</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; </div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;        <span class="keywordflow">if</span> (ch == TEXT(<span class="charliteral">&#39;\0&#39;</span>))</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    }</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160; </div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="comment">     * End of list is marked with an extra NULL terminator.</span></div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    *pszDst++ = TEXT(<span class="charliteral">&#39;\0&#39;</span>);</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160; </div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;<span class="comment">     * If it turned out to be nothing but spaces and ,s, throw it away.</span></div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;    <span class="keywordflow">if</span> (*pszBase == TEXT(<span class="charliteral">&#39;\0&#39;</span>)) {</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;        UserFreePool(pszBase);</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;    }</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160; </div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;<span class="comment">     * Copy the list to shared memory</span></div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;<span class="preprocessor">#define cbAlloc cchAlloc    // just to reuse this variable cleanly</span></div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160; </div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <a class="code" href="a00719.html#a0d8ef5056a80a305334bd6c49dfbe32a">cbAlloc</a> = (pszDst - pszBase) * <span class="keyword">sizeof</span>(WCHAR);</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a> = <a class="code" href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a>(<a class="code" href="a00719.html#a0d8ef5056a80a305334bd6c49dfbe32a">cbAlloc</a>);</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160; </div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a>)</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;        RtlCopyMemory(<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a>, pszBase, <a class="code" href="a00719.html#a0d8ef5056a80a305334bd6c49dfbe32a">cbAlloc</a>);</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160; </div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;<span class="preprocessor">#undef cbAlloc</span></div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160; </div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;    UserFreePool(pszBase);</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;}</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160; </div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160; </div>
<div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">  576</a></span>&#160;HRGN <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>(VOID)</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;{</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    HRGN hrgn = GreCreateRectRgn(0, 0, 0, 0);</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160; </div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;    GreSetRegionOwner(hrgn, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160; </div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;    <span class="keywordflow">return</span> hrgn;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;}</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160; </div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160; </div>
<div class="line"><a name="l00593"></a><span class="lineno"><a class="line" href="a00719.html#a714380420b4a3dff79653064c561ce2f">  593</a></span>&#160;<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> <a class="code" href="a00719.html#a714380420b4a3dff79653064c561ce2f">CI_GetClrVal</a>(</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;    LPWSTR p)</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;{</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;    LPBYTE pl;</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;    BYTE   val;</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;    <span class="keywordtype">int</span>    i;</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>  clrval;</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; </div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;<span class="comment">     * Initialize the pointer to the LONG return value.  Set to MSB.</span></div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    pl = (LPBYTE)&amp;clrval;</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; </div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;<span class="comment">     * Get three goups of numbers seprated by non-numeric characters.</span></div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; 3; i++) {</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160; </div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="comment">         * Skip over any non-numeric characters.</span></div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;        <span class="keywordflow">while</span> (!(*p &gt;= TEXT(<span class="charliteral">&#39;0&#39;</span>) &amp;&amp; *p &lt;= TEXT(<span class="charliteral">&#39;9&#39;</span>)))</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;            p++;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160; </div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;<span class="comment">         * Get the next series of digits.</span></div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;        val = 0;</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;        <span class="keywordflow">while</span> (*p &gt;= TEXT(<span class="charliteral">&#39;0&#39;</span>) &amp;&amp; *p &lt;= TEXT(<span class="charliteral">&#39;9&#39;</span>))</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;            val = (BYTE)((int)val*10 + (<span class="keywordtype">int</span>)*p++ - <span class="charliteral">&#39;0&#39;</span>);</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160; </div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;<span class="comment">         * HACK! Store the group in the LONG return value.</span></div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        *pl++ = val;</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;    }</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160; </div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;<span class="comment">     * Force the MSB to zero for GDI.</span></div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;    *pl = 0;</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; </div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;    <span class="keywordflow">return</span> clrval;</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;}</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160; </div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160; </div>
<div class="line"><a name="l00645"></a><span class="lineno"><a class="line" href="a00719.html#a8de0c4e654c3f80bfd463a5a2d35a5b0">  645</a></span>&#160;VOID <a class="code" href="a00719.html#a8de0c4e654c3f80bfd463a5a2d35a5b0">xxxODI_ColorInit</a>(VOID)</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;{</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;    <span class="keywordtype">int</span>      i;</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;    COLORREF colorVals[STR_COLOREND - STR_COLORSTART + 1];</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    <a class="code" href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a>      colorIndex[STR_COLOREND - STR_COLORSTART + 1];</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;    WCHAR    rgchValue[25];</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;    WCHAR    szObjectName[40];</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160; </div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;<span class="preprocessor">#if COLOR_MAX - (STR_COLOREND - STR_COLORSTART + 1)</span></div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;<span class="preprocessor">#error &quot;COLOR_MAX value conflicts with STR_COLOREND - STR_COLORSTART&quot;</span></div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160; </div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;<span class="comment">     * Now set up default color values.</span></div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;<span class="comment">     * These are not in display drivers anymore since we just want default.</span></div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;<span class="comment">     * The real values are stored in the profile.</span></div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;    memcpy(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af405b2ed63e81980b447932ddc614536">argbSystem</a>, <a class="code" href="a03257.html#a34540aa45c8c636fafcabd654f4b612b">gargbInitial</a>, <span class="keyword">sizeof</span>(COLORREF) * COLOR_MAX);</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160; </div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; COLOR_MAX; i++) {</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160; </div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;<span class="comment">         * Get the object&#39;s WIN.INI name.</span></div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;        ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>,</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;                         (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)(STR_COLORSTART + i),</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;                         szObjectName,</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;                         <span class="keyword">sizeof</span>(szObjectName) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160; </div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;<span class="comment">         * Try to find a WIN.INI entry for this object.</span></div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;        *rgchValue = 0;</div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;        <a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_COLORS,</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;                              szObjectName,</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;                              <a class="code" href="a00020.html#aa6a72bcda08bb85cd8c46b2980008ae6">szNull</a>,</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;                              rgchValue,</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;                              <span class="keyword">sizeof</span>(rgchValue) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160; </div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;<span class="comment">         * Convert the string into an RGB value and store.  Use the</span></div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;<span class="comment">         * default RGB value if the profile value is missing.</span></div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;        colorVals[i]  = *rgchValue ? <a class="code" href="a00719.html#a714380420b4a3dff79653064c561ce2f">CI_GetClrVal</a>(rgchValue) : <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af405b2ed63e81980b447932ddc614536">argbSystem</a>[i];</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;        colorIndex[i] = i;</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;    }</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160; </div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    <a class="code" href="a00878.html#a79c49bd2bebaefc131451f5a7d86ed94">xxxSetSysColors</a>(i,</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;                    colorIndex,</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;                    colorVals,</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;                    SSCF_FORCESOLIDCOLOR | SSCF_SETMAGICCOLORS);</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;}</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160; </div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160; </div>
<div class="line"><a name="l00705"></a><span class="lineno"><a class="line" href="a00899.html#a333336c1f5ede3d334818ee0b68bddca">  705</a></span>&#160;VOID <a class="code" href="a00719.html#a333336c1f5ede3d334818ee0b68bddca">xxxLW_DCInit</a>(VOID)</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;{</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;    <span class="keywordtype">int</span>        i;</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    TEXTMETRIC tm;</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160; </div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;<span class="comment">     * Init InternalInvalidate globals</span></div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    <a class="code" href="a03257.html#a64bb480af28b68e29cff83cbea4d5216">hrgnInv0</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();    <span class="comment">// For InternalInvalidate()</span></div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    <a class="code" href="a03257.html#a8bad277911a130818be3a899ed20bb47">hrgnInv1</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();    <span class="comment">// For InternalInvalidate()</span></div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    <a class="code" href="a03257.html#a563994bd74d1e838db9b57fba52976d5">hrgnInv2</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();    <span class="comment">// For InternalInvalidate()</span></div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160; </div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;<span class="comment">     * Initialize SPB globals</span></div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;    <a class="code" href="a03257.html#a843bb3e93cd90fd6d26165e34f9fb2e7">hrgnSPB1</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;    <a class="code" href="a03257.html#aa5e045eee922b98d88fdc4e2180884ad">hrgnSPB2</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;    <a class="code" href="a03257.html#a9091be3780b1a7c02ee9222852c5274a">hrgnSCR</a>  = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160; </div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;<span class="comment">     * Initialize ScrollWindow/ScrollDC globals</span></div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;    <a class="code" href="a03257.html#a11a75d31dd330968778abca1b9ef9906">hrgnSW</a>        = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;    <a class="code" href="a03257.html#a370e6d8fd1b15a3b96e8916cde9a7f09">hrgnScrl1</a>     = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;    <a class="code" href="a03257.html#a0c32ef18f0038af530970be1400ae8a1">hrgnScrl2</a>     = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;    <a class="code" href="a03257.html#a31a801a6f7836cef5d45ab70aa8aadc2">hrgnScrlVis</a>   = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;    <a class="code" href="a03257.html#a0787ffd7a666153b6a60d8eb73917037">hrgnScrlSrc</a>   = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    <a class="code" href="a03257.html#a0290a2221e753feb7b6a59fcf25f4ffb">hrgnScrlDst</a>   = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;    <a class="code" href="a03257.html#aed1964e1e99dd24b6c0b6f5396afc7b7">hrgnScrlValid</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160; </div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;<span class="comment">     * Initialize SetWindowPos()</span></div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;    <a class="code" href="a03257.html#a4c1cf2caffadb752159315b39aa5b73f">hrgnInvalidSum</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;    <a class="code" href="a03257.html#a94d85fecc1042e33913c3cd91dbc87e3">hrgnVisNew</a>     = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;    <a class="code" href="a03257.html#a7d88f6dcdf98714c0bb62233f0fd85df">hrgnSWP1</a>       = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;    <a class="code" href="a03257.html#a6ed7bdfb32a260cb1f7f148bdd49827f">hrgnValid</a>      = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;    <a class="code" href="a03257.html#ab5e418292fc20ee99143b63ca057a963">hrgnValidSum</a>   = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    <a class="code" href="a03257.html#a22582da0c3535d7a4fc98d7a7b03cc18">hrgnInvalid</a>    = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160; </div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<span class="comment">     * Initialize DC cache</span></div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;    <a class="code" href="a03257.html#a6cdf8902d16435dff1e0c8bc95783563">hrgnGDC</a> = <a class="code" href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a>();</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160; </div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; DCE_SIZE_CACHEINIT; i++)</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        <a class="code" href="a00644.html#ac94f19fd4bf35ebf88eaea575f87bc0d">CreateCacheDC</a>(NULL, DCX_INVALID | DCX_CACHE);</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160; </div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;<span class="comment">     * Let engine know that the display must be secure.</span></div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160; </div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    GreMarkDCUnreadable(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#afb2df48c699295f358dd262c291570a2">pdceFirst</a>-&gt;<a class="code" href="a02909.html#acc6792141787aadc4d90abe018db1e02">hdc</a>);</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160; </div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;<span class="comment">     * LATER mikeke - if ghfontsys is changed anywhere but here</span></div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;<span class="comment">     * we need to fix SetNCFont()</span></div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;    <a class="code" href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a>      = (HFONT)GreGetStockObject(SYSTEM_FONT);</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;    <a class="code" href="a03257.html#a19396f9031f621c8d6c242f79dfbee19">ghFontSysFixed</a> = (HFONT)GreGetStockObject(SYSTEM_FIXED_FONT);</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160; </div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;<span class="comment">     * Get the logical pixels per inch in X and Y directions</span></div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    oemInfo.cxPixelsPerInch = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, LOGPIXELSX);</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    oemInfo.cyPixelsPerInch = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, LOGPIXELSY);</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160; </div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;<span class="preprocessor">#if DBG</span></div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#adf0068988d4823d1fa1a18bca501899e">TraceDisplayDriverLoad</a>) {</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;        KdPrint((<span class="stringliteral">&quot;xxxLW_DCInit: LogPixels set to %08lx\n&quot;</span>, oemInfo.cxPixelsPerInch));</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;    }</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160; </div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#af5b9904727246903b73027a6008559db">fPaletteDisplay</a> = GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, RASTERCAPS) &amp; RC_PALETTE;</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160; </div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;<span class="comment">     * Get the (Planes * BitCount) for the current device</span></div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;    oemInfo.Planes    = GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, PLANES);</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;    oemInfo.BitsPixel = GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, BITSPIXEL);</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;    oemInfo.BitCount  = oemInfo.Planes * oemInfo.BitsPixel;</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160; </div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;<span class="comment">     * Store the System Font metrics info.</span></div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd4bf0c7aa2d88610b01f436ec2e82d">cxSysFontChar</a> = <a class="code" href="a00365.html#a98d5a09c34c36cb854dcfe13fa091720">GetCharDimensions</a>(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, &amp;tm, &amp;<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a481a03e7eb24994f1eca28391f9b7c77">cySysFontChar</a>);</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tmSysFont</a>     = tm;</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160; </div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;<span class="preprocessor">#ifdef FE_SB // xxxLW_DCInit() : for GetSystemMetrics(SM_DBCSENABLED)</span></div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;    SYSMET(DBCSENABLED) = TRUE;</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;    SYSMET(DBCSENABLED) = FALSE;</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;<span class="preprocessor">#endif // FE_SB</span></div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160; </div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;    SYSMET(DEBUG) = TRUE;</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;    SYSMET(DEBUG) = FALSE;</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160; </div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;    SYSMET(SLOWMACHINE) = 0;</div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160; </div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;<span class="comment">     * Setup display perf criteria in system metrics</span></div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;    <span class="keywordflow">if</span> (GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, CAPS1) &amp; C1_SLOW_CARD)</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;        SYSMET(SLOWMACHINE) |= 0x0004;</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160; </div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;<span class="comment">     * Initialize system colors from registry.</span></div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    <a class="code" href="a00719.html#a8de0c4e654c3f80bfd463a5a2d35a5b0">xxxODI_ColorInit</a>();</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;}</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160; </div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160; </div>
<div class="line"><a name="l00833"></a><span class="lineno"><a class="line" href="a00899.html#afe217611fa0c033df6bd582bd73e4e45">  833</a></span>&#160;VOID <a class="code" href="a00719.html#a7c538d9a8b4078520805eec11f02abb8">_LoadCursorsAndIcons</a>()</div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;{</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    <a class="code" href="a02821.html">PCURSOR</a> pcur;</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;    <span class="keywordtype">int</span>     i;</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160; </div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    pcur = <a class="code" href="a03257.html#a535d7a9bdec53a538ece9e4d2e387357">gpcurFirst</a>;</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160; </div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160;    <span class="keywordflow">while</span> (pcur) {</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160; </div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(HIWORD(pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer) == 0);</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160; </div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;        <span class="keywordflow">switch</span> (pcur-&gt;<a class="code" href="a02821.html#ad87885eba13efdc5f35157c02c627d2e">rt</a>) {</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;        <span class="keywordflow">case</span> RT_ICON:</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((<span class="keywordtype">int</span>)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer &gt;= OIC_FIRST_DEFAULT);</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160; </div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((<span class="keywordtype">int</span>)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer &lt;</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;                    OIC_FIRST_DEFAULT + COIC_CONFIGURABLE);</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160; </div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;            i = (int)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer - OIC_FIRST_DEFAULT;</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;            pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer = (LPWSTR)<a class="code" href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a>[i].<a class="code" href="a02829.html#a017a334d4e7069c978220302c90f7d68">Id</a>;</div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160; </div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160;            <span class="keywordflow">if</span> (pcur-&gt;<a class="code" href="a02821.html#a825c2bbc185e1667ea173026e678e1f4">CURSORF_flags</a> &amp; CURSORF_LRSHARED) {</div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;                <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a>[i].spcur == NULL);</div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;                Lock(&amp;<a class="code" href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a>[i].spcur, pcur);</div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;                <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acb7132559e18fe5d6f700a10a8d20cef">hIconSmWindows</a> == NULL);</div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;                <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((<span class="keywordtype">int</span>)pcur-&gt;<a class="code" href="a02821.html#af7620bf3cfee2cfb1f0f5dd0289dda65">cx</a> == SYSMET(CXSMICON));</div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;<span class="comment">                 * The special small winlogo icon is not shared.</span></div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;                <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acb7132559e18fe5d6f700a10a8d20cef">hIconSmWindows</a> = PtoH(pcur);</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;            }</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160; </div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;        <span class="keywordflow">case</span> RT_CURSOR:</div>
<div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((<span class="keywordtype">int</span>)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer &gt;= OCR_FIRST_DEFAULT);</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160; </div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((<span class="keywordtype">int</span>)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer &lt;</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;                    OCR_FIRST_DEFAULT + COCR_CONFIGURABLE);</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160; </div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;            i = (int)pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer - OCR_FIRST_DEFAULT;</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;            pcur-&gt;<a class="code" href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">strName</a>.Buffer = (LPWSTR)<a class="code" href="a03257.html#a5bca403874015b2fee3c6bb4997b8c91">rgsyscur</a>[i].<a class="code" href="a02829.html#a017a334d4e7069c978220302c90f7d68">Id</a>;</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;            Lock(&amp;<a class="code" href="a03257.html#a5bca403874015b2fee3c6bb4997b8c91">rgsyscur</a>[i].spcur ,pcur);</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160; </div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(FALSE);  <span class="comment">// should be nothing in the cache but these!</span></div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;        }</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160; </div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;        pcur = pcur-&gt;<a class="code" href="a02821.html#ac0e720eb07b98eccc6c513a55b20d999">pcurNext</a>;</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;    }</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160; </div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;<span class="comment">     * copy special icon handles to global spots for later use.</span></div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acdfddcbcfef5a27210ac39e03825f9ee">hIcoWindows</a> = PtoH(SYSICO(WINLOGO));</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;}</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160; </div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160; </div>
<div class="line"><a name="l00899"></a><span class="lineno"><a class="line" href="a00719.html#aa6a4ca775f97490e22f8ecac65cdc03f">  899</a></span>&#160;VOID <a class="code" href="a00719.html#aa6a4ca775f97490e22f8ecac65cdc03f">UpdateSystemCursorsFromRegistry</a>(VOID)</div>
<div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;{</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;    <span class="keywordtype">int</span>            i;</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;    UNICODE_STRING strName;</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;    TCHAR          szFilename[MAX_PATH];</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160;    TCHAR          szCursorName[20]; <span class="comment">// Make sure no config strings exceed this.</span></div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;    <a class="code" href="a02821.html">PCURSOR</a>        pCursor;</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>           LR_flags;</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160; </div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; COCR_CONFIGURABLE; i++) {</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160; </div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;        ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>,</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;                         <a class="code" href="a03257.html#a5bca403874015b2fee3c6bb4997b8c91">rgsyscur</a>[i].StrId,</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;                         szCursorName,</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;                         <span class="keyword">sizeof</span>(szCursorName) / <span class="keyword">sizeof</span>(TCHAR));</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160; </div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;        <a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_CURSORS,</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;                              szCursorName,</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;                              TEXT(<span class="stringliteral">&quot;&quot;</span>),</div>
<div class="line"><a name="l00918"></a><span class="lineno">  918</span>&#160;                              szFilename,</div>
<div class="line"><a name="l00919"></a><span class="lineno">  919</span>&#160;                              <span class="keyword">sizeof</span>(szFilename) / <span class="keyword">sizeof</span>(TCHAR));</div>
<div class="line"><a name="l00920"></a><span class="lineno">  920</span>&#160; </div>
<div class="line"><a name="l00921"></a><span class="lineno">  921</span>&#160;        <span class="keywordflow">if</span> (*szFilename) {</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;            RtlInitUnicodeString(&amp;strName, szFilename);</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;            LR_flags = LR_LOADFROMFILE | LR_ENVSUBST;</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00925"></a><span class="lineno">  925</span>&#160;            <a class="code" href="a00608.html#a2f03d318ac2c5bd1f77147cebddfaf75">RtlInitUnicodeStringOrId</a>(&amp;strName,</div>
<div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;                                     MAKEINTRESOURCE(i + OCR_FIRST_DEFAULT));</div>
<div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;            LR_flags = LR_ENVSUBST;</div>
<div class="line"><a name="l00928"></a><span class="lineno">  928</span>&#160;        }</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160; </div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        pCursor = <a class="code" href="a00899.html#a3cf3a1cf5b9a6608c8e58da3048d46a8">xxxClientLoadImage</a>(&amp;strName,</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;                                     0,</div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;                                     IMAGE_CURSOR,</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160;                                     0,</div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;                                     0,</div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;                                     LR_flags,</div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;                                     FALSE);</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160; </div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        <span class="keywordflow">if</span> (pCursor) {</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;            <a class="code" href="a03173.html#ad9c59d20619fad480fe93870d584f2fa">SetSystemImage</a>(pCursor, <a class="code" href="a03257.html#a5bca403874015b2fee3c6bb4997b8c91">rgsyscur</a>[i].spcur);</div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;            <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;Unable to update cursor. id=%x.&quot;</span>, i + OCR_FIRST_DEFAULT);</div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160; </div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;        }</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;    }</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;}</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160; </div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160; </div>
<div class="line"><a name="l00955"></a><span class="lineno"><a class="line" href="a00719.html#a8e2c487045938ea775827e2d2e5bca69">  955</a></span>&#160;VOID <a class="code" href="a00719.html#a8e2c487045938ea775827e2d2e5bca69">UpdateSystemIconsFromRegistry</a>(VOID)</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;{</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;    <span class="keywordtype">int</span>            i;</div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;    UNICODE_STRING strName;</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;    TCHAR          szFilename[MAX_PATH];</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;    TCHAR          szCursorName[20]; <span class="comment">// Make sure no config strings exceed this.</span></div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;    <a class="code" href="a02821.html">PCURSOR</a>        pCursor;</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>           LR_flags;</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160; </div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; COIC_CONFIGURABLE; i++) {</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160; </div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;        ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>,</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;                         <a class="code" href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a>[i].StrId,</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;                         szCursorName,</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;                         <span class="keyword">sizeof</span>(szCursorName) / <span class="keyword">sizeof</span>(TCHAR));</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160; </div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;        <a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_ICONS,</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;                              szCursorName,</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;                              TEXT(<span class="stringliteral">&quot;&quot;</span>),</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;                              szFilename,</div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;                              <span class="keyword">sizeof</span>(szFilename) / <span class="keyword">sizeof</span>(TCHAR));</div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160; </div>
<div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;        <span class="keywordflow">if</span> (*szFilename) {</div>
<div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;            RtlInitUnicodeString(&amp;strName, szFilename);</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;            LR_flags = LR_LOADFROMFILE | LR_ENVSUBST;</div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;            <a class="code" href="a00608.html#a2f03d318ac2c5bd1f77147cebddfaf75">RtlInitUnicodeStringOrId</a>(&amp;strName,</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;                                     MAKEINTRESOURCE(i + OIC_FIRST_DEFAULT));</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;            LR_flags = LR_ENVSUBST;</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;        }</div>
<div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160; </div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;        pCursor = <a class="code" href="a00899.html#a3cf3a1cf5b9a6608c8e58da3048d46a8">xxxClientLoadImage</a>(&amp;strName,</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;                                     0,</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;                                     IMAGE_ICON,</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;                                     0,</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;                                     0,</div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;                                     LR_flags,</div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;                                     FALSE);</div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160; </div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;        <a class="code" href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a>(<a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>,</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;                (HIWORD(strName.Buffer) == 0) ?</div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;                        <span class="stringliteral">&quot;%#.8lx = Loaded id %ld&quot;</span> :</div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;                        <span class="stringliteral">&quot;%#.8lx = Loaded file %ws for id %ld&quot;</span>,</div>
<div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;                PtoH(pCursor),</div>
<div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;                strName.Buffer,</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;                i + OIC_FIRST_DEFAULT);</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; </div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;        <span class="keywordflow">if</span> (pCursor) {</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;            <a class="code" href="a03173.html#ad9c59d20619fad480fe93870d584f2fa">SetSystemImage</a>(pCursor, <a class="code" href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a>[i].spcur);</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;            <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;Unable to update icon. id=%ld&quot;</span>, i + OIC_FIRST_DEFAULT);</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;        }</div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160; </div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;<span class="comment">         * update the small winlogo icon which is referenced by gpsi.</span></div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;<span class="comment">         * Seems like we should load the small version for all configurable</span></div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;<span class="comment">         * icons anyway.  What is needed is for CopyImage to support</span></div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;<span class="comment">         * copying of images loaded from files with LR_COPYFROMRESOURCE</span></div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;<span class="comment">         * allowing a reaload of the bits. (SAS)</span></div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;        <span class="keywordflow">if</span> (i == OIC_WINLOGO_DEFAULT - OIC_FIRST_DEFAULT) {</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160; </div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;            <a class="code" href="a02821.html">PCURSOR</a> pCurSys = HtoP(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acb7132559e18fe5d6f700a10a8d20cef">hIconSmWindows</a>);</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160; </div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;            <span class="keywordflow">if</span> (pCurSys != NULL) {</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;                pCursor = <a class="code" href="a00899.html#a3cf3a1cf5b9a6608c8e58da3048d46a8">xxxClientLoadImage</a>(&amp;strName,</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;                                             0,</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;                                             IMAGE_ICON,</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;                                             SYSMET(CXSMICON),</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;                                             SYSMET(CYSMICON),</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;                                             LR_flags,</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;                                             FALSE);</div>
<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>&#160; </div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;                <span class="keywordflow">if</span> (pCursor) {</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;                    <a class="code" href="a03173.html#ad9c59d20619fad480fe93870d584f2fa">SetSystemImage</a>(pCursor, pCurSys);</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;                } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>&#160;                    <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;Unable to update small winlogo icon.&quot;</span>);</div>
<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;                }</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;            }</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;        }</div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;    }</div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;}</div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160; </div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160; </div>
<div class="line"><a name="l01045"></a><span class="lineno"><a class="line" href="a00899.html#abadfb326c0062a86c27ca931bd156f80"> 1045</a></span>&#160;VOID <a class="code" href="a00719.html#abadfb326c0062a86c27ca931bd156f80">LW_BrushInit</a>(VOID)</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;{</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;    CONST <span class="keyword">static</span> WORD patGray[8] = {0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa};</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160; </div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;<span class="comment">     * Create a gray brush to be used with GrayString</span></div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;    <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a>   = GreCreateBitmap(8, 8, 1, 1, (LPBYTE)patGray);</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;    <a class="code" href="a03638.html#a0f352eeb287eff80ca03bb5947be417e">ghbrGray</a>  = GreCreatePatternBrush(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a>);</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;    <a class="code" href="a03638.html#aedc8dc2d00e3a727cd22a983b28b1ce8">ghbrWhite</a> = GreGetStockObject(WHITE_BRUSH);</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;    <a class="code" href="a03638.html#ae155f53f9cd74090fe4f5000c5790393">ghbrBlack</a> = GreGetStockObject(BLACK_BRUSH);</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160; </div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;    GreDeleteObject(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a>);</div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;    GreSetBrushOwnerPublic(<a class="code" href="a03638.html#a0f352eeb287eff80ca03bb5947be417e">ghbrGray</a>);</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;    <a class="code" href="a03257.html#ad3d93d814e4ef4353a897bf4bc1baf61">hbrHungApp</a> = GreCreateSolidBrush(0);</div>
<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;    GreSetBrushOwnerPublic(<a class="code" href="a03257.html#ad3d93d814e4ef4353a897bf4bc1baf61">hbrHungApp</a>);</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;}</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160; </div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160; </div>
<div class="line"><a name="l01070"></a><span class="lineno"><a class="line" href="a00899.html#aede6de42e849405c86466f41e45e6fbd"> 1070</a></span>&#160;VOID <a class="code" href="a00719.html#aede6de42e849405c86466f41e45e6fbd">LW_RegisterWindows</a>(</div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;    BOOL fSystem)</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;{</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;<span class="preprocessor">#define CCLASSES 6</span></div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160; </div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;    <span class="keywordtype">int</span>        i;</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;    <a class="code" href="a02569.html">PCLS</a>       pcls;</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;    WNDCLASSEX wndcls;</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160; </div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;    CONST <span class="keyword">static</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;        BOOLEAN     fSystem;</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;        BOOLEAN     fGlobalClass;</div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;        WORD        fnid;</div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;        <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>        style;</div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;        WNDPROC     lpfnWndProc;</div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;        <span class="keywordtype">int</span>         cbWndExtra;</div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;        BOOL        fNormalCursor : 1;</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;        HBRUSH      hbrBackground;</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;        LPCTSTR     lpszClassName;</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;    } rc[<a class="code" href="a00719.html#ab001d98c936b49d74ea3101b33033237">CCLASSES</a>] = {</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;        { TRUE, TRUE, FNID_DESKTOP,</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;            CS_DBLCLKS,</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;            (WNDPROC)<a class="code" href="a00656.html#a00c37f6f9665c90db0ccc814ba381a62">xxxDesktopWndProc</a>,</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a02805.html">DESKWND</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a>),</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;            TRUE,</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;            (HBRUSH)(COLOR_BACKGROUND + 1),</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;            DESKTOPCLASS},</div>
<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;        { TRUE, FALSE, FNID_SWITCH,</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;            CS_VREDRAW | CS_HREDRAW | CS_SAVEBITS,</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;            (WNDPROC)<a class="code" href="a00890.html#aeb0ecd4f24f90bc0555b80905c3bf0bb">xxxSwitchWndProc</a>,</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a03017.html">SWITCHWND</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a>),</div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160;            TRUE,</div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;            NULL,</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;            SWITCHWNDCLASS},</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;        { TRUE, FALSE, FNID_MENU,</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;            CS_DBLCLKS | CS_SAVEBITS,</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;            (WNDPROC)<a class="code" href="a03590.html#abd0a994cec57d6310414c9849f2424a2">xxxMenuWindowProc</a>,</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a02837.html">PPOPUPMENU</a>),</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;            FALSE,</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;            (HBRUSH)(COLOR_MENU + 1),</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;            MENUCLASS},</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;        { FALSE, FALSE, FNID_SCROLLBAR,</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;            CS_VREDRAW | CS_HREDRAW | CS_DBLCLKS | CS_PARENTDC,</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;            (WNDPROC)<a class="code" href="a00833.html#a092f3cef61734c7894362e00cf462bf1">xxxSBWndProc</a>,</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a02657.html">SBWND</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a>),</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;            TRUE,</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;            NULL,</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;            L<span class="stringliteral">&quot;ScrollBar&quot;</span>},</div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;        { TRUE, TRUE, FNID_ICONTITLE,</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;            0,</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;            (WNDPROC)<a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>,</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;            0,</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;            TRUE,</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;            NULL,</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            ICONTITLECLASS},</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;        { FALSE, FALSE, 0,</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;            0,</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;            (WNDPROC)<a class="code" href="a00650.html#a658e89330b998517d77be1d33e635bd1">xxxEventWndProc</a>,</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a>),</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;            FALSE,</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;            NULL,</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;            L<span class="stringliteral">&quot;DDEMLEvent&quot;</span>}</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;    };</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160; </div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160; </div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;<span class="comment">     * All other classes are registered via the table.</span></div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;    wndcls.cbClsExtra   = 0;</div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;    wndcls.hInstance    = <a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>;</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;    wndcls.hIcon        = NULL;</div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;    wndcls.hIconSm      = NULL;</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;    wndcls.lpszMenuName = NULL;</div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a00719.html#ab001d98c936b49d74ea3101b33033237">CCLASSES</a>; i++) {</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;        <span class="keywordflow">if</span> (fSystem &amp;&amp; !rc[i].fSystem) {</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;        }</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;        wndcls.style        = rc[i].style;</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;        wndcls.lpfnWndProc  = rc[i].lpfnWndProc;</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;        wndcls.cbWndExtra   = rc[i].cbWndExtra;</div>
<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;        wndcls.hCursor      = rc[i].fNormalCursor ? PtoH(SYSCUR(ARROW)) : NULL;</div>
<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>&#160;        wndcls.hbrBackground= rc[i].hbrBackground;</div>
<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>&#160;        wndcls.lpszClassName= rc[i].lpszClassName;</div>
<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>&#160; </div>
<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;        pcls = <a class="code" href="a00623.html#a4c14a53428d713555d8ad6c288b4c92f">InternalRegisterClassEx</a>(&amp;wndcls,</div>
<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;                                       rc[i].fnid,</div>
<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>&#160;                                       CSF_SERVERSIDEPROC);</div>
<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>&#160; </div>
<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>&#160;        <span class="keywordflow">if</span> (fSystem &amp;&amp; rc[i].fGlobalClass)</div>
<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>&#160;            <a class="code" href="a00623.html#a4c14a53428d713555d8ad6c288b4c92f">InternalRegisterClassEx</a>(&amp;wndcls,</div>
<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;                                    rc[i].fnid,</div>
<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;                                    CSF_SERVERSIDEPROC | CSF_SYSTEMCLASS);</div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;    }</div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160; </div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;}</div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160; </div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160; </div>
<div class="line"><a name="l01173"></a><span class="lineno"><a class="line" href="a00719.html#a2b205e9c6498ab55cc74b5cd0d694b59"> 1173</a></span>&#160;VOID <a class="code" href="a00719.html#a2b205e9c6498ab55cc74b5cd0d694b59">vEnumerateRegistryFonts</a>(</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;    BOOL bPermanent)</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;{</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;    LPWSTR pchKeys;</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;    LPWSTR pchSrch;</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;    LPWSTR lpchT;</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;    <span class="keywordtype">int</span>    cchReal;</div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;    <span class="keywordtype">int</span>    cFont;</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;    WCHAR  szFontFile[MAX_PATH];</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160;    FLONG  flAFRW;</div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;    BOOL   fDone = FALSE;</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160; </div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;    BOOL   fSuccess;</div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160; </div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;<span class="preprocessor">#ifdef FE_SB // vEnumerateRegistryFonts()</span></div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;    WCHAR  szPreloadFontFile[MAX_PATH];</div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;<span class="preprocessor">#endif // FE_SB</span></div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160; </div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;<span class="comment">     * if we are not just checking whether this is a registry font</span></div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;    flAFRW = (bPermanent ? AFRW_ADD_LOCAL_FONT : AFRW_ADD_REMOTE_FONT);</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160; </div>
<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;    fSuccess =</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160;    <a class="code" href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a>();</div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160; </div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;    cchReal = (int)<a class="code" href="a00821.html#a4bb047d4765563a6842b46c9757188e9">FastGetProfileKeysW</a>(PMAP_FONTS,</div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;                                       TEXT(<span class="stringliteral">&quot;vgasys.fnt&quot;</span>),</div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;                                       &amp;pchKeys);</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;    <span class="keywordflow">if</span> (!pchKeys) {</div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Out of memory during usersrv initialization&quot;</span>);</div>
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;    }</div>
<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160; </div>
<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;<span class="preprocessor">#ifdef FE_SB // vEnumerateRegistryFonts()</span></div>
<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;<span class="comment">     * If we got here first, we load the fonts until this preload fonts.</span></div>
<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;<span class="comment">     * Preload fonts will be used by Winlogon UI, then we need to make sure</span></div>
<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;<span class="comment">     * the font is available when Winlogon UI comes up.</span></div>
<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a> == -1) {</div>
<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;        <a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_WINLOGON,</div>
<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;                              TEXT(<span class="stringliteral">&quot;PreloadFontFile&quot;</span>),</div>
<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160;                              TEXT(<span class="stringliteral">&quot;sserif&quot;</span>),</div>
<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160;                              szPreloadFontFile,</div>
<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160;                              MAX_PATH);</div>
<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160; </div>
<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;Winlogon preload font = %ws\n&quot;</span>,szPreloadFontFile);</div>
<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;    }</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;<span class="preprocessor">#endif // FE_SB</span></div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160; </div>
<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;<span class="comment">     * Now we have all the key names in pchKeys.</span></div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;    <span class="keywordflow">if</span> (cchReal != 0) {</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160; </div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;        cFont   = 0;</div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;        pchSrch = pchKeys;</div>
<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>&#160; </div>
<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>&#160;        <span class="keywordflow">do</span> {</div>
<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160; </div>
<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_FONTS,</div>
<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;                                      pchSrch,</div>
<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;                                      TEXT(<span class="stringliteral">&quot;vgasys.fnt&quot;</span>),</div>
<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;                                      szFontFile,</div>
<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;                                      (MAX_PATH - 5))) {</div>
<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160; </div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;<span class="comment">                 * If no extension, append &quot;.FON&quot;</span></div>
<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160;                <span class="keywordflow">for</span> (lpchT = szFontFile; *lpchT != TEXT(<span class="charliteral">&#39;.&#39;</span>); lpchT++) {</div>
<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160; </div>
<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>&#160;                    <span class="keywordflow">if</span> (*lpchT == 0) {</div>
<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;                        wcscat(szFontFile, TEXT(<span class="stringliteral">&quot;.FON&quot;</span>));</div>
<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>&#160;                    }</div>
<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>&#160;                }</div>
<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>&#160; </div>
<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>&#160;                <span class="keywordflow">if</span> ((cFont &gt; <a class="code" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a>) &amp;&amp; bPermanent) {</div>
<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>&#160; </div>
<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>&#160;<span class="comment">                     * skip if we&#39;ve already loaded this local font.</span></div>
<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>&#160;                    <a class="code" href="a00719.html#a6fbaa4f2c3cf36d69c0400f1413ac858">xxxAddFontResourceW</a>(szFontFile,flAFRW);</div>
<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160;                }</div>
<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>&#160; </div>
<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160;                <span class="keywordflow">if</span> (!bPermanent)</div>
<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;                    <a class="code" href="a00719.html#a6fbaa4f2c3cf36d69c0400f1413ac858">xxxAddFontResourceW</a>(szFontFile,flAFRW);</div>
<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160; </div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;                <span class="keywordflow">if</span> ((<a class="code" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a> == -1) &amp;&amp;</div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;#ifdef FE_SB <span class="comment">// vEnumerateRegistryFonts()</span></div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;<span class="comment">                     * Compare with the font file name from Registry.</span></div>
<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;                    (!_wcsnicmp(szFontFile, szPreloadFontFile, wcslen(szPreloadFontFile))) &amp;</div>
<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;#<span class="keywordflow">else</span></div>
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;                    (!_wcsnicmp(szFontFile, L<span class="stringliteral">&quot;sserif&quot;</span>, wcslen(L<span class="stringliteral">&quot;sserif&quot;</span>))) &amp;&amp;</div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;#endif <span class="comment">// FE_SB</span></div>
<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;                    (bPermanent)) {</div>
<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160; </div>
<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;<span class="comment">                     * On the first time through only load up until</span></div>
<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;<span class="comment">                     * ms sans serif for winlogon to use.  Later we</span></div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160;<span class="comment">                     * will spawn off a thread which loads the remaining</span></div>
<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;<span class="comment">                     * fonts in the background.</span></div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160;                    <a class="code" href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a> = cFont;</div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160; </div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;                    UserFreePool((HANDLE)pchKeys);</div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;                    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;                    <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;                }</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;            }</div>
<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160; </div>
<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;<span class="comment">             * Skip to the next key.</span></div>
<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;            <span class="keywordflow">while</span> (*pchSrch++);</div>
<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160; </div>
<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;            cFont += 1;</div>
<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160; </div>
<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;        } <span class="keywordflow">while</span> (pchSrch &lt; ((LPWSTR)pchKeys + cchReal));</div>
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;    }</div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160; </div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;<span class="comment">     * signal that all the permanent fonts have been loaded</span></div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;    <a class="code" href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">bPermanentFontsLoaded</a> = TRUE;</div>
<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160; </div>
<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;    UserFreePool((HANDLE)pchKeys);</div>
<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>&#160; </div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160;    <span class="keywordflow">if</span> (!bPermanent)</div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;        <a class="code" href="a03257.html#a5ff58507230b40753f18f9a58aa98e4f">bFontsAreLoaded</a> = TRUE;</div>
<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160; </div>
<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;}</div>
<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160; </div>
<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160; </div>
<div class="line"><a name="l01322"></a><span class="lineno"><a class="line" href="a00899.html#a2839959cac045c8e2426c585aefdb932"> 1322</a></span>&#160;VOID <a class="code" href="a00719.html#a2839959cac045c8e2426c585aefdb932">xxxLW_LoadFonts</a>(</div>
<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;    BOOL bRemote)</div>
<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;{</div>
<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;    <span class="keywordflow">if</span>(bRemote) {</div>
<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160; </div>
<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;        LARGE_INTEGER li;</div>
<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160; </div>
<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;<span class="comment">         * Before we can proceed we must make sure that all the permanent</span></div>
<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;<span class="comment">         * fonts  have been loaded.</span></div>
<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160; </div>
<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;        <span class="keywordflow">while</span> (!<a class="code" href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">bPermanentFontsLoaded</a>) {</div>
<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160; </div>
<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;            <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;            li.QuadPart = (LONGLONG)-10000 * CMSSLEEP;</div>
<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;            KeDelayExecutionThread(KernelMode, FALSE, &amp;li);</div>
<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;            <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;        }</div>
<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160; </div>
<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160;        <a class="code" href="a00719.html#a2b205e9c6498ab55cc74b5cd0d694b59">vEnumerateRegistryFonts</a>(FALSE);</div>
<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160; </div>
<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;    <span class="comment">// add  remote type 1 fonts.</span></div>
<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160; </div>
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;        <a class="code" href="a00899.html#af44ec82f91d6265c2b9f8db9c41fa675">ClientLoadRemoteT1Fonts</a>();</div>
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160; </div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;        <a class="code" href="a00719.html#a6fbaa4f2c3cf36d69c0400f1413ac858">xxxAddFontResourceW</a>(L<span class="stringliteral">&quot;marlett.ttf&quot;</span>, AFRW_ADD_LOCAL_FONT);</div>
<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;        <a class="code" href="a00719.html#a2b205e9c6498ab55cc74b5cd0d694b59">vEnumerateRegistryFonts</a>(TRUE);</div>
<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>&#160; </div>
<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160;    <span class="comment">// add local type 1 fonts.</span></div>
<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160; </div>
<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;    <span class="comment">// only want to be called once, the second time after Sans Serif</span></div>
<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;    <span class="comment">// was installed</span></div>
<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160; </div>
<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">bPermanentFontsLoaded</a>)</div>
<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;            <a class="code" href="a00899.html#ac43db2991c9272fa3c024febacc0cb1e">ClientLoadLocalT1Fonts</a>();</div>
<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;    }</div>
<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;}</div>
<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160; </div>
<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160; </div>
<div class="line"><a name="l01376"></a><span class="lineno"><a class="line" href="a00899.html#a73caa94613387344d6eb8a91ca219e9a"> 1376</a></span>&#160;BOOL <a class="code" href="a00719.html#a67b4aa403d939b6ff87059f65a96252f">LW_DesktopIconInit</a>(</div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;    LPLOGFONT lplf)</div>
<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;{</div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;    <span class="keywordtype">int</span>     fontheight;</div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160;    SIZE    size;</div>
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;    <span class="keywordtype">int</span>     cyCharTitle;</div>
<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;    <span class="keywordtype">int</span>     style;</div>
<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160;    LOGFONT logFont;</div>
<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;    HFONT   hFont;</div>
<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;    HFONT   hIconTitleFontLocal;</div>
<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160; </div>
<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;    RtlZeroMemory(&amp;logFont, <span class="keyword">sizeof</span>(logFont));</div>
<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160; </div>
<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;    <span class="keywordflow">if</span> (lplf != NULL) {</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160; </div>
<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;        <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a> = *lplf;</div>
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160; </div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>&#160;        memset(&amp;<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>, 0, <span class="keyword">sizeof</span>(<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>));</div>
<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160; </div>
<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;<span class="comment">         * Find out what font to use for icon titles.  MS Sans Serif is the</span></div>
<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;<span class="comment">         * default.</span></div>
<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;<span class="preprocessor">#ifdef LATER</span></div>
<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;        <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_DESKTOP,</div>
<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>&#160;                                    STR_ICONTITLEFACENAME,</div>
<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;                                    TEXT(<span class="stringliteral">&quot;Helv&quot;</span>),</div>
<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;                                    (LPWSTR)&amp;<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfFaceName,</div>
<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;                                    LF_FACESIZE);</div>
<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;        <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_DESKTOP,</div>
<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;                                    STR_ICONTITLEFACENAME,</div>
<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160;                                    TEXT(<span class="stringliteral">&quot;MS Sans Serif&quot;</span>),</div>
<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;                                    (LPWSTR)&amp;<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfFaceName,</div>
<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160;                                    LF_FACESIZE);</div>
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160; </div>
<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;<span class="comment">         * Get default size.</span></div>
<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;        fontheight = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_ICONTITLESIZE, 9);</div>
<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160; </div>
<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;        <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfHeight = -(SHORT)MultDiv(fontheight,</div>
<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160;                                                    oemInfo.cyPixelsPerInch,</div>
<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;                                                    72);</div>
<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160; </div>
<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160; </div>
<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;<span class="comment">         * Get bold or not style</span></div>
<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;        style = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_ICONTITLESTYLE, 0);</div>
<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160; </div>
<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;        <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfWeight = ((style &amp; 1) ? FW_BOLD : FW_NORMAL);</div>
<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;    }</div>
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160; </div>
<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;    <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfCharSet       = ANSI_CHARSET;</div>
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;    <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfOutPrecision  = OUT_DEFAULT_PRECIS;</div>
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;    <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfClipPrecision = CLIP_DEFAULT_PRECIS;</div>
<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;    <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfQuality       = DEFAULT_QUALITY;</div>
<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160; </div>
<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;    hIconTitleFontLocal = GreCreateFontIndirectW(&amp;<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>);</div>
<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160; </div>
<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;    <span class="keywordflow">if</span> (hIconTitleFontLocal != NULL) {</div>
<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160; </div>
<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;        GreExtGetObjectW(hIconTitleFontLocal, <span class="keyword">sizeof</span>(LOGFONT), &amp;logFont);</div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160; </div>
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;        <span class="keywordflow">if</span> ((logFont.lfHeight != <a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfHeight) ||</div>
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;            (<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>.lfFaceName[0] == 0)) {</div>
<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160; </div>
<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;<span class="comment">             * Couldn&#39;t find a font with the height or facename that</span></div>
<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;<span class="comment">             * we wanted so use the system font instead.</span></div>
<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;            GreDeleteObject(hIconTitleFontLocal);</div>
<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;            hIconTitleFontLocal = NULL;</div>
<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;        }</div>
<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;    }</div>
<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160; </div>
<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;    <span class="keywordflow">if</span> (hIconTitleFontLocal == NULL) {</div>
<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160; </div>
<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;        <span class="keywordflow">if</span> (lplf != NULL) {</div>
<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160; </div>
<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;<span class="comment">             * Tell the app we couldn&#39;t get the font requested and don&#39;t change</span></div>
<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>&#160;<span class="comment">             * the current one.</span></div>
<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;            <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;        }</div>
<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160; </div>
<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;        hIconTitleFontLocal = <a class="code" href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a>;</div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;        GreExtGetObjectW(hIconTitleFontLocal, <span class="keyword">sizeof</span>(LOGFONT), &amp;<a class="code" href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a>);</div>
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;    }</div>
<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160; </div>
<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160;    hFont = GreSelectFont(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, hIconTitleFontLocal);</div>
<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160;    GreGetTextExtentW(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, <a class="code" href="a00020.html#a2a5e5a7ee13c7db1bfafcd38bc110734">szOneChar</a>, 1, &amp;size, GGTE_WIN3_EXTENT);</div>
<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;    <span class="keywordflow">if</span> (hFont)</div>
<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;        GreSelectFont(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, hFont);</div>
<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160; </div>
<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;    cyCharTitle = size.cy;</div>
<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160; </div>
<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;    GreSetLFONTOwner((HLFONT)hIconTitleFontLocal, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160; </div>
<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;    <span class="keywordflow">if</span> (lplf) {</div>
<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160; </div>
<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160;      <span class="comment">/*</span></div>
<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;<span class="comment">       * Delete old font, switch fonts to the newly requested one and return</span></div>
<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;<span class="comment">       * success.  If this is the same as the ghfontSys, then don&#39;t delete.</span></div>
<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;<span class="comment">       */</span></div>
<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>&#160;      <span class="keywordflow">if</span> ((<a class="code" href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a> != NULL) &amp;&amp; (<a class="code" href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a> != <a class="code" href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a>))</div>
<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;          GreDeleteObject(<a class="code" href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a>);</div>
<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160; </div>
<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;      <a class="code" href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a> = hIconTitleFontLocal;</div>
<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;      <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;    }</div>
<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160; </div>
<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>&#160;    <a class="code" href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a> = hIconTitleFontLocal;</div>
<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>&#160; </div>
<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;<span class="comment">     * default icon granularity.  The target is 75 pixels on a VGA.</span></div>
<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;<span class="comment">     * Also will get 75 on CGA, Herc, EGA.  8514 will be 93 pixels</span></div>
<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;<span class="comment">     *</span></div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;<span class="comment">     * LATER: GerardoB</span></div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;<span class="comment">     * Win95 multiplies CXICONSPACING by iIconSpacingFactor/100. This is a value</span></div>
<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;<span class="comment">     *  they read from Control Panel\Desktop\WindowMetrics in the registery;</span></div>
<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;<span class="comment">     *  however, there is no SPI_ to set this value.</span></div>
<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;    SYSMET(CXICONSPACING) = (GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, LOGPIXELSX) * 75) / 96;</div>
<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160;    SYSMET(CYICONSPACING) = (GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">hdcBits</a>, LOGPIXELSY) * 75) / 96;</div>
<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160; </div>
<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160; </div>
<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160;    <a class="code" href="a03257.html#ae27e710974ce255a6e84a0d3c50d548b">fIconTitleWrap</a> = (BOOL)<a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_ICONTITLEWRAP, 1);</div>
<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;    SYSMET(CXICONSPACING) = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)<a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP,</div>
<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;                STR_ICONHORZSPACING, SYSMET(CXICONSPACING));</div>
<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160; </div>
<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;    <span class="keywordflow">if</span> (SYSMET(CXICONSPACING) &lt; SYSMET(CXICON))</div>
<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>&#160;        SYSMET(CXICONSPACING) = SYSMET(CXICON);</div>
<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160; </div>
<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160;<span class="comment">     * Get profile value</span></div>
<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;    SYSMET(CYICONSPACING) = (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)<a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(</div>
<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160;            PMAP_DESKTOP, STR_ICONVERTSPACING, SYSMET(CYICONSPACING));</div>
<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160; </div>
<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160;<span class="comment">     * Adjust if unreasonable</span></div>
<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160;    <span class="keywordflow">if</span> (SYSMET(CYICONSPACING) &lt; SYSMET(CYICON))</div>
<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;        SYSMET(CYICONSPACING) = SYSMET(CYICON);</div>
<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160; </div>
<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>&#160;}</div>
<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>&#160; </div>
<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160; </div>
<div class="line"><a name="l01535"></a><span class="lineno"><a class="line" href="a00899.html#ac25433f528d8c8edcc8620bbf1cc337a"> 1535</a></span>&#160;VOID <a class="code" href="a00719.html#ac25433f528d8c8edcc8620bbf1cc337a">xxxFinalUserInit</a>(VOID)</div>
<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;{</div>
<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;    HBITMAP hbm;</div>
<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;    <a class="code" href="a02569.html">PPCLS</a>   ppcls;</div>
<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160; </div>
<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;    <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a> = GreCreateCompatibleDC(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>);</div>
<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;    GreSelectFont(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, <a class="code" href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a>);</div>
<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;    GreSetDCOwner(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160; </div>
<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;    <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7b432253f33d65ef1e0f21ee1e5fd410">cxGray</a> = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd4bf0c7aa2d88610b01f436ec2e82d">cxSysFontChar</a> * <a class="code" href="a00719.html#a78a2cd245ae3fc097177f0838bb7542f">GRAY_STRLEN</a>;</div>
<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;    <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a8a450d9b64d91039c5a52d60440326e2">cyGray</a> = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a481a03e7eb24994f1eca28391f9b7c77">cySysFontChar</a> + 2;</div>
<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>&#160;    <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a> = GreCreateBitmap(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7b432253f33d65ef1e0f21ee1e5fd410">cxGray</a>, <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a8a450d9b64d91039c5a52d60440326e2">cyGray</a>, 1, 1, 0L);</div>
<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;    GreSetBitmapOwner(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a>, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160; </div>
<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160;    hbm = GreSelectBitmap(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">hbmGray</a>);</div>
<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>&#160;    GreSetTextColor(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, 0x00000000L);</div>
<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;    GreSelectBrush(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, <a class="code" href="a03638.html#a0f352eeb287eff80ca03bb5947be417e">ghbrGray</a>);</div>
<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160;    GreSetBkMode(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, OPAQUE);</div>
<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160;    GreSetBkColor(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">hdcGray</a>, 0x00FFFFFFL);</div>
<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160; </div>
<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160;<span class="comment">     * Creation of the queue registers some bogus classes.  Get rid</span></div>
<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160;<span class="comment">     * of them and register the real ones.</span></div>
<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;    ppcls = &amp;<a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;<a class="code" href="a02889.html#a215417492fadc11678c689da2447f02e">ppi</a>-&gt;<a class="code" href="a02905.html#a15bec260e31659a4797da9c52b3eb137">pclsPublicList</a>;</div>
<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;    <span class="keywordflow">while</span> ((*ppcls != NULL) &amp;&amp; !((*ppcls)-&gt;style &amp; CS_GLOBALCLASS))</div>
<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;        <a class="code" href="a00623.html#a574fd931f19a38d5c30d9fe1787ffcf5">DestroyClass</a>(ppcls);</div>
<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160;<span class="preprocessor">#ifdef MEMPHIS_MENU_ANIMATION</span></div>
<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;    <span class="keywordflow">if</span> (!ghbmSlide) {</div>
<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160;        ghbmSlide = GreCreateCompatibleBitmap(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>,</div>
<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>&#160;                                              MAX_ANIMATE_WIDTH,</div>
<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>&#160;                                              SYSMET(CYSCREEN));</div>
<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;        GreSetBitmapOwner(ghbmSlide, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;        <span class="keywordflow">if</span> (!ghbmSlide) {</div>
<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;xxxFinalUserinit: Memphis menus could not create Slide bmp&quot;</span>);</div>
<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;        }</div>
<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;    }</div>
<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160; </div>
<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a>){</div>
<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;        <a class="code" href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a> = GreCreateCompatibleDC(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>);</div>
<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160;        GreSelectFont(<a class="code" href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a>, <a class="code" href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a>);</div>
<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;        GreSetDCOwner(<a class="code" href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a>, OBJECT_OWNER_PUBLIC);</div>
<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160; </div>
<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a>) {</div>
<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;FinalUserInit: Memphis menus could not create temp DC&quot;</span>);</div>
<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>&#160;        }</div>
<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;    }</div>
<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160; </div>
<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;<span class="preprocessor">#endif // MEMPHIS_MENU_ANIMATION</span></div>
<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160; </div>
<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;}</div>
<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160; </div>
<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160; </div>
<div class="line"><a name="l01596"></a><span class="lineno"><a class="line" href="a00899.html#a4a658246da968fd0e047ad44216018c3"> 1596</a></span>&#160;NTSTATUS <a class="code" href="a00719.html#a4a658246da968fd0e047ad44216018c3">InitializeClientPfnArrays</a>(</div>
<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;    <a class="code" href="a02501.html">PPFNCLIENT</a> ppfnClientA,</div>
<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;    <a class="code" href="a02501.html">PPFNCLIENT</a> ppfnClientW,</div>
<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;    HANDLE hModUser)</div>
<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;{</div>
<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;    <span class="keyword">static</span> BOOL fHaveClientPfns = FALSE;</div>
<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160; </div>
<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;<span class="comment">     * Remember client side addresses in this global structure.  These are</span></div>
<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>&#160;<span class="comment">     * always constant, so this is ok.  Note that if either of the</span></div>
<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160;<span class="comment">     * pointers are invalid, the exception will be handled in</span></div>
<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;<span class="comment">     * the thunk and fHaveClientPfns will not be set.</span></div>
<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160;    <span class="keywordflow">if</span> (!fHaveClientPfns &amp;&amp; ppfnClientA != NULL) {</div>
<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;        <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ab72cd487b50bf4603821a822f4b66374">apfnClientA</a> = *ppfnClientA;</div>
<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;        <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a6f4de7f11f44318feef70149fa2d31cc">apfnClientW</a> = *ppfnClientW;</div>
<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>&#160;        <a class="code" href="a03257.html#a2f741561065791c743a70e0b3d6dc6e2">hModClient</a> = hModUser;</div>
<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;        fHaveClientPfns = TRUE;</div>
<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;    }</div>
<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;<span class="comment">     * BradG - Verify that user32.dll on the client side has loaded</span></div>
<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>&#160;<span class="comment">     *   at the correct address.  If not, do an RIPMSG.</span></div>
<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>&#160; </div>
<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;    <span class="keywordflow">if</span>((ppfnClientA != NULL) &amp;&amp;</div>
<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;       (<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ab72cd487b50bf4603821a822f4b66374">apfnClientA</a>.<a class="code" href="a02501.html#a10f53c8d407e8480cb7070b485183d74">pfnButtonWndProc</a> != ppfnClientA-&gt;<a class="code" href="a02501.html#a10f53c8d407e8480cb7070b485183d74">pfnButtonWndProc</a>))</div>
<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Client side user32.dll not loaded at same address.&quot;</span>);</div>
<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>&#160; </div>
<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;    <span class="keywordflow">return</span> STATUS_SUCCESS;</div>
<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>&#160;}</div>
<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>&#160; </div>
<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>&#160; </div>
<div class="line"><a name="l01642"></a><span class="lineno"><a class="line" href="a00899.html#a7e6f0245491ca3616c7fa2b23f4beeb3"> 1642</a></span>&#160;BOOL <a class="code" href="a00719.html#a7e6f0245491ca3616c7fa2b23f4beeb3">GetKbdLangSwitch</a>(VOID)</div>
<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;{</div>
<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwToggle;</div>
<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>&#160;    BOOL  bStatus = TRUE;</div>
<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>&#160; </div>
<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>&#160;    dwToggle = <a class="code" href="a00821.html#ac6fcd0c4a1edcf555a8934429c71db81">FastGetProfileIntW</a>(PMAP_KBDLAYOUTTOGGLE, TEXT(<span class="stringliteral">&quot;Hotkey&quot;</span>), 1);</div>
<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>&#160; </div>
<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160;    <span class="keywordflow">switch</span> (dwToggle) {</div>
<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>&#160;    <span class="keywordflow">case</span> 3:</div>
<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160;        <a class="code" href="a03257.html#a4c545d9814e49026b88914e087e66047">LangToggle</a>[0].<a class="code" href="a02797.html#a53264bfdae9d01cc521f5d35184de3fb">bVkey</a> = 0;</div>
<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;        <a class="code" href="a03257.html#a4c545d9814e49026b88914e087e66047">LangToggle</a>[0].<a class="code" href="a02797.html#ab48226df31e0082f68036a5788005492">bScan</a> = 0;</div>
<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>&#160; </div>
<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;    <span class="keywordflow">case</span> 2:</div>
<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;        <a class="code" href="a03257.html#a4c545d9814e49026b88914e087e66047">LangToggle</a>[0].<a class="code" href="a02797.html#a53264bfdae9d01cc521f5d35184de3fb">bVkey</a> = VK_CONTROL;</div>
<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>&#160; </div>
<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>&#160;        <a class="code" href="a03257.html#a4c545d9814e49026b88914e087e66047">LangToggle</a>[0].<a class="code" href="a02797.html#a53264bfdae9d01cc521f5d35184de3fb">bVkey</a> = VK_MENU;</div>
<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>&#160;    }</div>
<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>&#160; </div>
<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>&#160;    <span class="keywordflow">return</span> bStatus;</div>
<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>&#160;}</div>
<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160; </div>
<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160; </div>
<div class="line"><a name="l01679"></a><span class="lineno"><a class="line" href="a00719.html#adb7173363e74ebfaa630751c365c72ea"> 1679</a></span>&#160;<span class="preprocessor">#define PATHMAX     158     // 158 is what control panel uses.</span></div>
<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160; </div>
<div class="line"><a name="l01681"></a><span class="lineno"><a class="line" href="a00899.html#ac8152494ed9eadc52841fe8e2575a187"> 1681</a></span>&#160;BOOL <a class="code" href="a00719.html#ac8152494ed9eadc52841fe8e2575a187">xxxUpdatePerUserSystemParameters</a>(</div>
<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>&#160;    BOOL bUserLoggedOn)</div>
<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>&#160;{</div>
<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>&#160;    <span class="keywordtype">int</span>            i;</div>
<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>&#160;    TCHAR          szPat[<a class="code" href="a00719.html#adb7173363e74ebfaa630751c365c72ea">PATHMAX</a>];</div>
<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>&#160;    TCHAR          <a class="code" href="a00020.html#a2a5e5a7ee13c7db1bfafcd38bc110734">szOneChar</a>[2] = TEXT(<span class="stringliteral">&quot;0&quot;</span>);</div>
<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>&#160;    HANDLE         hKey;</div>
<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>          dwFontSmoothing;</div>
<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>&#160;    BOOL           fSuccess;</div>
<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160; </div>
<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160;    <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00821.html#a110b31c531d736ba425e667c26687f56">cReentered</a>;</div>
<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160; </div>
<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>&#160;    <span class="keyword">static</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>&#160;        <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> idSection;</div>
<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;        <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> id;</div>
<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;        <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> idRes;</div>
<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;        <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> def;</div>
<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;    } spi[] = {</div>
<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>&#160;        { PMAP_DESKTOP,  SPI_ICONHORIZONTALSPACING,STR_ICONHORZSPACING,   0 },  <span class="comment">// MUST BE INDEX 0!</span></div>
<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>&#160;        { PMAP_DESKTOP,  SPI_ICONVERTICALSPACING,  STR_ICONVERTSPACING,   0 },  <span class="comment">// MUST BE INDEX 1!</span></div>
<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;        { PMAP_METRICS,  SPI_SETBORDER,            STR_BORDERWIDTH,       1 },</div>
<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;        { PMAP_DESKTOP,  SPI_SETSCREENSAVETIMEOUT, STR_SCREENSAVETIMEOUT, 0 },</div>
<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;        { PMAP_DESKTOP,  SPI_SETSCREENSAVEACTIVE,  STR_SCREENSAVEACTIVE,  0 },</div>
<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160;        { PMAP_KEYBOARD, SPI_SETKEYBOARDDELAY,     STR_KEYDELAY,          0 },</div>
<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>&#160;        { PMAP_KEYBOARD, SPI_SETKEYBOARDSPEED,     STR_KEYSPEED,         15 },</div>
<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;        { PMAP_MOUSE,    SPI_SETDOUBLECLKWIDTH,    STR_DOUBLECLICKWIDTH,  4 },</div>
<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;        { PMAP_MOUSE,    SPI_SETDOUBLECLKHEIGHT,   STR_DOUBLECLICKHEIGHT, 4 },</div>
<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160;        { PMAP_MOUSE,    SPI_SETSNAPTODEFBUTTON,   STR_SNAPTO,            0 },</div>
<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;        { PMAP_DESKTOP,  SPI_SETDRAGHEIGHT,        STR_DRAGHEIGHT,        0 },</div>
<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;        { PMAP_DESKTOP,  SPI_SETDRAGWIDTH,         STR_DRAGWIDTH,         0 },</div>
<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;        { PMAP_DESKTOP,  SPI_SETWHEELSCROLLLINES,  STR_WHEELSCROLLLINES,  3 }</div>
<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;    };</div>
<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160; </div>
<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;<span class="preprocessor">#if 0</span></div>
<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;    UNICODE_STRING dispDevice;</div>
<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160;    DEVMODEW devmode = {0};</div>
<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>&#160; </div>
<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;    spi[0].def = SYSMET(CXICONSPACING);</div>
<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;    spi[1].def = SYSMET(CYICONSPACING);</div>
<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160; </div>
<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a00821.html#a110b31c531d736ba425e667c26687f56">cReentered</a> == 0);</div>
<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160; </div>
<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;<span class="comment">     * Make sure the caller is the logon process</span></div>
<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>&#160;    <span class="keywordflow">if</span> (GetCurrentProcessId() != <a class="code" href="a03257.html#ad4b0bbbb1f1fce28a4e874ae6fb92262">gpidLogon</a>) {</div>
<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;Access denied in xxxUpdatePerUserSystemParameters&quot;</span>);</div>
<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;    }</div>
<div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160; </div>
<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;    fSuccess =</div>
<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;    <a class="code" href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a>();</div>
<div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(fSuccess);</div>
<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160; </div>
<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;<span class="comment">     * Reset the desktop to the proper settings when the user first logs on.</span></div>
<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;<span class="preprocessor">#if 0</span></div>
<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;<span class="comment">     * This is currently useless since this code is called on the winlogon</span></div>
<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>&#160;<span class="comment">     * desktop - we want this to happen on the USERs desktop, not winlogons ...</span></div>
<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;    RtlInitUnicodeString(&amp;dispDevice, <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;rpdesk-&gt;pDispInfo-&gt;pDevInfo-&gt;szNtDeviceName);</div>
<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160;    devmode.dmSize = <span class="keyword">sizeof</span>(DEVMODEW);</div>
<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160; </div>
<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;    <a class="code" href="a00689.html#aca39fc0e877a9047585888e7790d20ed">UserChangeDisplaySettings</a>(&amp;dispDevice,</div>
<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;                              &amp;devmode,</div>
<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;                              NULL,</div>
<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>&#160;                              NULL,</div>
<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>&#160;                              0,</div>
<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>&#160;                              NULL,</div>
<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>&#160;                              TRUE);</div>
<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>&#160; </div>
<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>&#160;<span class="comment">     * Control Panel User Preferences</span></div>
<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;    <a class="code" href="a00719.html#a807cb88a984eca981c2de0d6762e97ff">LoadCPUserPreferences</a>();</div>
<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>&#160; </div>
<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>&#160;<span class="comment">     * Set syscolors from registry.</span></div>
<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;    <a class="code" href="a00719.html#a8de0c4e654c3f80bfd463a5a2d35a5b0">xxxODI_ColorInit</a>();</div>
<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160; </div>
<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;<span class="comment">     * This is the initialization from Chicago</span></div>
<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;    <a class="code" href="a00716.html#aa84edae0e7919ca4f55d198b201a3e5a">SetWindowNCMetrics</a>(NULL, TRUE, -1); <span class="comment">// Colors must be set first</span></div>
<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;    <a class="code" href="a00716.html#a0df9d021542718987a45d43d815c161c">SetMinMetrics</a>(NULL);</div>
<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;    <a class="code" href="a00716.html#acd52966f6d457f68619ccb6006e4fccf">SetIconMetrics</a>(NULL);</div>
<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160; </div>
<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;<span class="comment">     * If the user is logging on read the keyboard layout switching hot key</span></div>
<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>&#160;    <span class="keywordflow">if</span> (bUserLoggedOn) {</div>
<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>&#160;        <a class="code" href="a00719.html#a7e6f0245491ca3616c7fa2b23f4beeb3">GetKbdLangSwitch</a>();</div>
<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>&#160;    }</div>
<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160; </div>
<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>&#160;<span class="comment">     * Set the default thread locale for the system based on the value</span></div>
<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>&#160;<span class="comment">     * in the current user&#39;s registry profile.</span></div>
<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;    ZwSetDefaultLocale( TRUE, 0 );</div>
<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160; </div>
<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;    <a class="code" href="a00719.html#aa6a4ca775f97490e22f8ecac65cdc03f">UpdateSystemCursorsFromRegistry</a>();</div>
<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160; </div>
<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;<span class="comment">     * desktop Pattern now.  Note no parameters.  It just goes off</span></div>
<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;<span class="comment">     * and reads win.ini and sets the desktop pattern.</span></div>
<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;    <a class="code" href="a00827.html#aff05938a3204057951e7b61eef8b640e">xxxSystemParametersInfo</a>(SPI_SETDESKPATTERN, (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)-1, 0L, 0); <span class="comment">// 265 version</span></div>
<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160; </div>
<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;<span class="comment">     * now go set a bunch of random values from the win.ini file.</span></div>
<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; ARRAY_SIZE(spi); i++) {</div>
<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160; </div>
<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;        <a class="code" href="a00827.html#aff05938a3204057951e7b61eef8b640e">xxxSystemParametersInfo</a>(spi[i].<span class="keywordtype">id</span>,</div>
<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;                <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(spi[i].idSection,</div>
<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;                                        spi[i].idRes,</div>
<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>&#160;                                        spi[i].def),</div>
<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;                                        0L,</div>
<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;                                        0);</div>
<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160;    }</div>
<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160; </div>
<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;    <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP,</div>
<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;                                               STR_DRAGFULLWINDOWS,</div>
<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;                                               2);</div>
<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160; </div>
<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>&#160;    <a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_FASTALTTABCOLUMNS, 7);</div>
<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> &lt; 2)</div>
<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;        <a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> = 7;</div>
<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>&#160;    <a class="code" href="a03257.html#a1abc23ceeff97872cb88aa4600e7da70">nFastAltTabRows</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_FASTALTTABROWS, 3);</div>
<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> &lt; 1)</div>
<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;        <a class="code" href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a> = 3;</div>
<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160; </div>
<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;<span class="comment">     * If this is the first time the user logs on, set the DragFullWindows</span></div>
<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>&#160;<span class="comment">     * to the default. If we have an accelerated device, enable full drag.</span></div>
<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> == 2) {</div>
<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160; </div>
<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;        LPWSTR pwszd = L<span class="stringliteral">&quot;%d&quot;</span>;</div>
<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;        WCHAR  szTemp[40];</div>
<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;        WCHAR  szDragFullWindows[40];</div>
<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160; </div>
<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>&#160;        <span class="keywordflow">if</span> (GreGetDeviceCaps(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, BLTALIGNMENT) == 0)</div>
<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>&#160;            <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> = TRUE;</div>
<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;            <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a> = FALSE;</div>
<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>&#160; </div>
<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160;        <span class="keywordflow">if</span> (bUserLoggedOn) {</div>
<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>&#160; </div>
<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;            <a class="code" href="a00938.html#af342e0e9b49a1c8b503ea5d49c6c863d">wsprintfW</a>(szTemp, pwszd, <a class="code" href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a>);</div>
<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160; </div>
<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;            ServerLoadString(<a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>,</div>
<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>&#160;                             STR_DRAGFULLWINDOWS,</div>
<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;                             szDragFullWindows,</div>
<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;                             <span class="keyword">sizeof</span>(szDragFullWindows) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160; </div>
<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;            <a class="code" href="a00821.html#a118e1e46632af34063e8683498631431">FastWriteProfileStringW</a>(PMAP_DESKTOP, szDragFullWindows, szTemp);</div>
<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;        }</div>
<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;    }</div>
<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160; </div>
<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;<span class="comment">     * reset system beep setting to the right value for this user</span></div>
<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_BEEP, STR_BEEP, TEXT(<span class="stringliteral">&quot;Yes&quot;</span>), szPat, 20);</div>
<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160; </div>
<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;    <span class="keywordflow">if</span> (szPat[0] == TEXT(<span class="charliteral">&#39;Y&#39;</span>) || szPat[0] == TEXT(<span class="charliteral">&#39;y&#39;</span>)) {</div>
<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;        <a class="code" href="a00827.html#aff05938a3204057951e7b61eef8b640e">xxxSystemParametersInfo</a>(SPI_SETBEEP, TRUE, 0, FALSE);</div>
<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;        <a class="code" href="a00827.html#aff05938a3204057951e7b61eef8b640e">xxxSystemParametersInfo</a>(SPI_SETBEEP, FALSE, 0, FALSE);</div>
<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;    }</div>
<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160; </div>
<div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>&#160;<span class="comment">     * See if we should have extended sounds.</span></div>
<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_BEEP,</div>
<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>&#160;                                STR_EXTENDEDSOUNDS,</div>
<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>&#160;                                <a class="code" href="a03257.html#a0714aa134111134ba9c46aaf10a25adc">szN</a>,</div>
<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>&#160;                                szPat,</div>
<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160;                                <span class="keyword">sizeof</span>(szPat) / <span class="keyword">sizeof</span>(WCHAR));</div>
<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>&#160; </div>
<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160;    <a class="code" href="a03257.html#a8b8884d8d8e4d1f4f0393bf0e96dd90d">gbExtendedSounds</a> = (szPat[0] == *<a class="code" href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a> || szPat[0] == *<a class="code" href="a03257.html#ade9d7349a05eeafab71c77bbdad60ed9">szy</a>);</div>
<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>&#160; </div>
<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;<span class="comment">     * !!!LATER!!! (adams) See if the following profile retrievals can&#39;t</span></div>
<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;<span class="comment">     * be done in the &quot;spi&quot; array above (e.g. SPI_SETSNAPTO).</span></div>
<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160; </div>
<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;<span class="comment">     * Set mouse settings</span></div>
<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;    <a class="code" href="a03257.html#a2487ea2ba5c8f8cfa7471b0a20dc5d3e">MouseThresh1</a>  = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSETHRESH1, 6);</div>
<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;    <a class="code" href="a03257.html#af6cd9751dc0f38cad0fe90d7e945faf3">MouseThresh2</a>  = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSETHRESH2, 10);</div>
<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;    <a class="code" href="a03257.html#a8741f0bd2bf733c8fbef87e599e2eb5d">MouseSpeed</a>    = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSESPEED,   1);</div>
<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ac4113b9c71fc9dabc2e2c5854d026d6e">fSnapTo</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_SNAPTO,       FALSE);</div>
<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>&#160; </div>
<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>&#160;<span class="comment">     * mouse buttons swapped?</span></div>
<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>&#160;    <a class="code" href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a>(PMAP_MOUSE,</div>
<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>&#160;                                STR_SWAPBUTTONS,</div>
<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>&#160;                                TEXT(<span class="stringliteral">&quot;No&quot;</span>),</div>
<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>&#160;                                szPat,</div>
<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>&#160;                                20);</div>
<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>&#160; </div>
<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>&#160;    SYSMET(SWAPBUTTON) = ((szPat[0] == TEXT(<span class="charliteral">&#39;Y&#39;</span>)) || (szPat[0] == TEXT(<span class="charliteral">&#39;y&#39;</span>)) || (szPat[0] == TEXT(<span class="charliteral">&#39;1&#39;</span>))) ? TRUE : FALSE;</div>
<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160; </div>
<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160;    <a class="code" href="a00878.html#ac151403a049dfeec6d291f34229d7739">_SetDoubleClickTime</a>(<a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_DBLCLKSPEED, 400));</div>
<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;    <a class="code" href="a00620.html#ad545935ce22b3b3c881eb97851affe7e">_SetCaretBlinkTime</a>(<a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_BLINK, 500));</div>
<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;    <a class="code" href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_MENUSHOWDELAY, 400);</div>
<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160; </div>
<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;    <a class="code" href="a00719.html#a67b4aa403d939b6ff87059f65a96252f">LW_DesktopIconInit</a>((LPLOGFONT)NULL);</div>
<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>&#160; </div>
<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>&#160;<span class="comment">     * Font Information</span></div>
<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;    GreSetFontEnumeration( <a class="code" href="a00821.html#ac6fcd0c4a1edcf555a8934429c71db81">FastGetProfileIntW</a>(PMAP_TRUETYPE, TEXT(<span class="stringliteral">&quot;TTOnly&quot;</span>), FALSE) );</div>
<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160; </div>
<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;<span class="comment">     * Mouse tracking variables</span></div>
<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>&#160;    <a class="code" href="a03257.html#a3c299e89eb5b0923ac37cc8d29c65d06">gcxMouseHover</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSEHOVERWIDTH, SYSMET(CXDOUBLECLK));</div>
<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>&#160;    <a class="code" href="a03257.html#a4a4dfda0c85b4e4ad2c10cb1f370df74">gcyMouseHover</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSEHOVERHEIGHT, SYSMET(CYDOUBLECLK));</div>
<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span>&#160;    <a class="code" href="a03257.html#a888092e560f7a0919213285de1407193">gdtMouseHover</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_MOUSE, STR_MOUSEHOVERTIME, <a class="code" href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a>);</div>
<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160; </div>
<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>&#160;<span class="comment">     * Window animation</span></div>
<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>&#160;    <a class="code" href="a03257.html#a3f749009e2dddfbcdd946cdc60859d5d">gfAnimate</a> = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_METRICS, STR_MINANIMATE, TRUE);</div>
<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160; </div>
<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;<span class="comment">     * Initial Keyboard state:  Scroll-Lock, Num-Lock and Caps-Lock state.</span></div>
<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>&#160;    <a class="code" href="a00731.html#ad0b98cada03a8ea241c03267bdc15b7a">UpdatePerUserKeyboardIndicators</a>();</div>
<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>&#160;    <a class="code" href="a00599.html#a8da21355419d6a3264c4757a42f47345">UpdatePerUserAccessPackSettings</a>();</div>
<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160; </div>
<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160;<span class="comment">     * If we successfully opened this, we assume we have a network.</span></div>
<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>&#160;    <span class="keywordflow">if</span> (hKey = <a class="code" href="a00821.html#afd5f24eaf2b8288a787831e5ba3f525b">OpenCacheKeyEx</a>(PMAP_NETWORK, KEY_READ)) {</div>
<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;        SYSMET(NETWORK) = RNC_NETWORKS;</div>
<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;        ZwClose(hKey);</div>
<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;    }</div>
<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160; </div>
<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;    SYSMET(NETWORK) |= RNC_LOGON;</div>
<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160; </div>
<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160;<span class="comment">     * Font smoothing</span></div>
<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160;    dwFontSmoothing = <a class="code" href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a>(PMAP_DESKTOP, STR_FONTSMOOTHING, 0);</div>
<div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a> ((dwFontSmoothing == 0) || (dwFontSmoothing == FE_AA_ON));</div>
<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>&#160;    GreSetFontEnumeration( dwFontSmoothing | FE_SET_AA );</div>
<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160; </div>
<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160; </div>
<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00020_html_ae142b9698e40ef094e7481d595ddc9ae"><div class="ttname"><a href="a00020.html#ae142b9698e40ef094e7481d595ddc9ae">ghFontSys</a></div><div class="ttdeci">HFONT ghFontSys</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00101">clglobal.c:101</a></div></div>
<div class="ttc" id="aa00878_html_a79c49bd2bebaefc131451f5a7d86ed94"><div class="ttname"><a href="a00878.html#a79c49bd2bebaefc131451f5a7d86ed94">xxxSetSysColors</a></div><div class="ttdeci">BOOL APIENTRY xxxSetSysColors(int cicol, LPINT picolor, COLORREF *prgb, UINT uOptions)</div><div class="ttdef"><b>Definition:</b> <a href="a00878_source.html#l00191">sysmet.c:191</a></div></div>
<div class="ttc" id="aa03257_html_a888092e560f7a0919213285de1407193"><div class="ttname"><a href="a03257.html#a888092e560f7a0919213285de1407193">gdtMouseHover</a></div><div class="ttdeci">UINT gdtMouseHover</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00500">kernel/globals.c:500</a></div></div>
<div class="ttc" id="aa00371_html_a01c4659626880ba56745765a3580a36b"><div class="ttname"><a href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a></div><div class="ttdeci">#define RIPMSG0(flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00131">winerrp.h:131</a></div></div>
<div class="ttc" id="aa03257_html_a370e6d8fd1b15a3b96e8916cde9a7f09"><div class="ttname"><a href="a03257.html#a370e6d8fd1b15a3b96e8916cde9a7f09">hrgnScrl1</a></div><div class="ttdeci">HRGN hrgnScrl1</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00461">kernel/globals.c:461</a></div></div>
<div class="ttc" id="aa00719_html_a6502d781bd20234a06710b92d540baba"><div class="ttname"><a href="a00719.html#a6502d781bd20234a06710b92d540baba">DriverEntry</a></div><div class="ttdeci">NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00050">init.c:50</a></div></div>
<div class="ttc" id="aa00719_html_ac8152494ed9eadc52841fe8e2575a187"><div class="ttname"><a href="a00719.html#ac8152494ed9eadc52841fe8e2575a187">xxxUpdatePerUserSystemParameters</a></div><div class="ttdeci">BOOL xxxUpdatePerUserSystemParameters(BOOL bUserLoggedOn)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01681">init.c:1681</a></div></div>
<div class="ttc" id="aa03257_html_a4a4dfda0c85b4e4ad2c10cb1f370df74"><div class="ttname"><a href="a03257.html#a4a4dfda0c85b4e4ad2c10cb1f370df74">gcyMouseHover</a></div><div class="ttdeci">UINT gcyMouseHover</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00499">kernel/globals.c:499</a></div></div>
<div class="ttc" id="aa00719_html_a5f25f213e6a5992c8db55068b9f13875"><div class="ttname"><a href="a00719.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a></div><div class="ttdeci">LPCWSTR szDDEMLEVENTCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00046">kernel/server.c:46</a></div></div>
<div class="ttc" id="aa00719_html_a333336c1f5ede3d334818ee0b68bddca"><div class="ttname"><a href="a00719.html#a333336c1f5ede3d334818ee0b68bddca">xxxLW_DCInit</a></div><div class="ttdeci">VOID xxxLW_DCInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00705">init.c:705</a></div></div>
<div class="ttc" id="aa02513_html_a4bd4bf0c7aa2d88610b01f436ec2e82d"><div class="ttname"><a href="a02513.html#a4bd4bf0c7aa2d88610b01f436ec2e82d">tagSERVERINFO::cxSysFontChar</a></div><div class="ttdeci">int cxSysFontChar</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01013">user.h:1013</a></div></div>
<div class="ttc" id="aa00650_html_a658e89330b998517d77be1d33e635bd1"><div class="ttname"><a href="a00650.html#a658e89330b998517d77be1d33e635bd1">xxxEventWndProc</a></div><div class="ttdeci">LONG xxxEventWndProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00204">event.c:204</a></div></div>
<div class="ttc" id="aa00731_html_ad0b98cada03a8ea241c03267bdc15b7a"><div class="ttname"><a href="a00731.html#ad0b98cada03a8ea241c03267bdc15b7a">UpdatePerUserKeyboardIndicators</a></div><div class="ttdeci">VOID UpdatePerUserKeyboardIndicators(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00731_source.html#l00244">keyboard.c:244</a></div></div>
<div class="ttc" id="aa02605_html_a7b432253f33d65ef1e0f21ee1e5fd410"><div class="ttname"><a href="a02605.html#a7b432253f33d65ef1e0f21ee1e5fd410">tagDISPLAYINFO::cxGray</a></div><div class="ttdeci">int cxGray</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01572">user.h:1572</a></div></div>
<div class="ttc" id="aa03257_html_af6cd9751dc0f38cad0fe90d7e945faf3"><div class="ttname"><a href="a03257.html#af6cd9751dc0f38cad0fe90d7e945faf3">MouseThresh2</a></div><div class="ttdeci">int MouseThresh2</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00268">kernel/globals.c:268</a></div></div>
<div class="ttc" id="aa00899_html_ad32f4181b42f076883d50a395e5ee530"><div class="ttname"><a href="a00899.html#ad32f4181b42f076883d50a395e5ee530">xxxClientAddFontResourceW</a></div><div class="ttdeci">int xxxClientAddFontResourceW(PUNICODE_STRING, DWORD)</div></div>
<div class="ttc" id="aa03257_html_a535d7a9bdec53a538ece9e4d2e387357"><div class="ttname"><a href="a03257.html#a535d7a9bdec53a538ece9e4d2e387357">gpcurFirst</a></div><div class="ttdeci">PCURSOR gpcurFirst</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00136">kernel/globals.c:136</a></div></div>
<div class="ttc" id="aa03266_html_a82304bb979726869e03aca1d1d4180dd"><div class="ttname"><a href="a03266.html#a82304bb979726869e03aca1d1d4180dd">Win32KBaseAddress</a></div><div class="ttdeci">PVOID Win32KBaseAddress</div></div>
<div class="ttc" id="aa00347_html_ad8361627ac0856f5bbbd7d7b69daf80a"><div class="ttname"><a href="a00347.html#ad8361627ac0856f5bbbd7d7b69daf80a">gapulCvt_VK_84</a></div><div class="ttdeci">ULONG * gapulCvt_VK_84[]</div><div class="ttdef"><b>Definition:</b> <a href="a00722_source.html#l00114">kbd.c:114</a></div></div>
<div class="ttc" id="aa00020_html_ad4bac0b7b09f557d30760d16f4a5772d"><div class="ttname"><a href="a00020.html#ad4bac0b7b09f557d30760d16f4a5772d">ghdcBits2</a></div><div class="ttdeci">HDC ghdcBits2</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00099">clglobal.c:99</a></div></div>
<div class="ttc" id="aa02821_html_a825c2bbc185e1667ea173026e678e1f4"><div class="ttname"><a href="a02821.html#a825c2bbc185e1667ea173026e678e1f4">tagCURSOR::CURSORF_flags</a></div><div class="ttdeci">DWORD CURSORF_flags</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01806">userk.h:1806</a></div></div>
<div class="ttc" id="aa00821_html_af5e5b32f8171b8bb0dc4c27012b77918"><div class="ttname"><a href="a00821.html#af5e5b32f8171b8bb0dc4c27012b77918">FastGetProfileIntFromID</a></div><div class="ttdeci">int FastGetProfileIntFromID(UINT idSection, UINT idKey, int def)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00631">profile.c:631</a></div></div>
<div class="ttc" id="aa03665_html_a2c290ef957250277d511805c327d1c9f"><div class="ttname"><a href="a03665.html#a2c290ef957250277d511805c327d1c9f">UserGlobalAtomTableCallout</a></div><div class="ttdeci">PVOID UserGlobalAtomTableCallout(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l02334">kernel/server.c:2334</a></div></div>
<div class="ttc" id="aa03257_html_a843bb3e93cd90fd6d26165e34f9fb2e7"><div class="ttname"><a href="a03257.html#a843bb3e93cd90fd6d26165e34f9fb2e7">hrgnSPB1</a></div><div class="ttdeci">HRGN hrgnSPB1</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00450">kernel/globals.c:450</a></div></div>
<div class="ttc" id="aa03257_html_aed1964e1e99dd24b6c0b6f5396afc7b7"><div class="ttname"><a href="a03257.html#aed1964e1e99dd24b6c0b6f5396afc7b7">hrgnScrlValid</a></div><div class="ttdeci">HRGN hrgnScrlValid</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00466">kernel/globals.c:466</a></div></div>
<div class="ttc" id="aa02513_html_a828ad43fd9e20e8f5c0457a953f04c65"><div class="ttname"><a href="a02513.html#a828ad43fd9e20e8f5c0457a953f04c65">tagSERVERINFO::szCLOSE</a></div><div class="ttdeci">WCHAR szCLOSE[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01029">user.h:1029</a></div></div>
<div class="ttc" id="aa02821_html"><div class="ttname"><a href="a02821.html">tagCURSOR</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01803">userk.h:1803</a></div></div>
<div class="ttc" id="aa02797_html_ab48226df31e0082f68036a5788005492"><div class="ttname"><a href="a02797.html#ab48226df31e0082f68036a5788005492">tagKBDLANGTOGGLE::bScan</a></div><div class="ttdeci">BYTE bScan</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01679">userk.h:1679</a></div></div>
<div class="ttc" id="aa00719_html_a7e6f0245491ca3616c7fa2b23f4beeb3"><div class="ttname"><a href="a00719.html#a7e6f0245491ca3616c7fa2b23f4beeb3">GetKbdLangSwitch</a></div><div class="ttdeci">BOOL GetKbdLangSwitch(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01642">init.c:1642</a></div></div>
<div class="ttc" id="aa03590_html_abd0a994cec57d6310414c9849f2424a2"><div class="ttname"><a href="a03590.html#abd0a994cec57d6310414c9849f2424a2">xxxMenuWindowProc</a></div><div class="ttdeci">LONG xxxMenuWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03590_source.html#l02538">kernel/menu.c:2538</a></div></div>
<div class="ttc" id="aa00716_html_aa84edae0e7919ca4f55d198b201a3e5a"><div class="ttname"><a href="a00716.html#aa84edae0e7919ca4f55d198b201a3e5a">SetWindowNCMetrics</a></div><div class="ttdeci">VOID SetWindowNCMetrics(LPNONCLIENTMETRICS lpnc, BOOL fSizeChange, int clNewBorder)</div><div class="ttdef"><b>Definition:</b> <a href="a00716_source.html#l00970">inctlpan.c:970</a></div></div>
<div class="ttc" id="aa03001_html"><div class="ttname"><a href="a03001.html">tagPROFILEVALUEINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l04889">userk.h:4889</a></div></div>
<div class="ttc" id="aa02853_html"><div class="ttname"><a href="a02853.html">tagSVR_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02023">userk.h:2023</a></div></div>
<div class="ttc" id="aa03257_html_ad4b0bbbb1f1fce28a4e874ae6fb92262"><div class="ttname"><a href="a03257.html#ad4b0bbbb1f1fce28a4e874ae6fb92262">gpidLogon</a></div><div class="ttdeci">HANDLE gpidLogon</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00183">kernel/globals.c:183</a></div></div>
<div class="ttc" id="aa00899_html_ae451a2dc8791c420d7c956a63adc33ba"><div class="ttname"><a href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a></div><div class="ttdeci">VOID EnterCrit(VOID)</div></div>
<div class="ttc" id="aa02605_html_a04229f1fce34f097f5b9f5b63a0e8b0c"><div class="ttname"><a href="a02605.html#a04229f1fce34f097f5b9f5b63a0e8b0c">tagDISPLAYINFO::hdcGray</a></div><div class="ttdeci">HDC hdcGray</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01567">user.h:1567</a></div></div>
<div class="ttc" id="aa03257_html_a73d1ffe91fc1ffb242509e93d7799fb7"><div class="ttname"><a href="a03257.html#a73d1ffe91fc1ffb242509e93d7799fb7">dtMNDropDown</a></div><div class="ttdeci">UINT dtMNDropDown</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00477">kernel/globals.c:477</a></div></div>
<div class="ttc" id="aa03257_html_a9091be3780b1a7c02ee9222852c5274a"><div class="ttname"><a href="a03257.html#a9091be3780b1a7c02ee9222852c5274a">hrgnSCR</a></div><div class="ttdeci">HRGN hrgnSCR</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00449">kernel/globals.c:449</a></div></div>
<div class="ttc" id="aa03257_html_a19396f9031f621c8d6c242f79dfbee19"><div class="ttname"><a href="a03257.html#a19396f9031f621c8d6c242f79dfbee19">ghFontSysFixed</a></div><div class="ttdeci">HFONT ghFontSysFixed</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00413">kernel/globals.c:413</a></div></div>
<div class="ttc" id="aa00689_html_aca39fc0e877a9047585888e7790d20ed"><div class="ttname"><a href="a00689.html#aca39fc0e877a9047585888e7790d20ed">UserChangeDisplaySettings</a></div><div class="ttdeci">LONG UserChangeDisplaySettings(IN PUNICODE_STRING pstrDeviceName, IN LPDEVMODEW pDevMode, IN PWND pwnd, IN PDESKTOP pdesk, IN DWORD dwFlags, IN PVOID lParam, IN BOOL bKernelMode)</div><div class="ttdef"><b>Definition:</b> <a href="a00689_source.html#l01097">fullscr.c:1097</a></div></div>
<div class="ttc" id="aa00821_html_a110b31c531d736ba425e667c26687f56"><div class="ttname"><a href="a00821.html#a110b31c531d736ba425e667c26687f56">cReentered</a></div><div class="ttdeci">int cReentered</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00076">profile.c:76</a></div></div>
<div class="ttc" id="aa02909_html_acc6792141787aadc4d90abe018db1e02"><div class="ttname"><a href="a02909.html#acc6792141787aadc4d90abe018db1e02">tagDCE::hdc</a></div><div class="ttdeci">HDC hdc</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02460">userk.h:2460</a></div></div>
<div class="ttc" id="aa00719_html_a8ed4836e09deb53fff1a43a539211229"><div class="ttname"><a href="a00719.html#a8ed4836e09deb53fff1a43a539211229">LW_LoadProfileInitData</a></div><div class="ttdeci">VOID LW_LoadProfileInitData(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00183">init.c:183</a></div></div>
<div class="ttc" id="aa02605_html_a11b705c0c05de54f562bd00f0533ffb3"><div class="ttname"><a href="a02605.html#a11b705c0c05de54f562bd00f0533ffb3">tagDISPLAYINFO::hbmGray</a></div><div class="ttdeci">HBITMAP hbmGray</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01569">user.h:1569</a></div></div>
<div class="ttc" id="aa02513_html_a66696b4025ed7f9aaabcdac8402558b0"><div class="ttname"><a href="a02513.html#a66696b4025ed7f9aaabcdac8402558b0">tagSERVERINFO::szIGNORE</a></div><div class="ttdeci">WCHAR szIGNORE[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01028">user.h:1028</a></div></div>
<div class="ttc" id="aa00716_html_a0df9d021542718987a45d43d815c161c"><div class="ttname"><a href="a00716.html#a0df9d021542718987a45d43d815c161c">SetMinMetrics</a></div><div class="ttdeci">VOID SetMinMetrics(LPMINIMIZEDMETRICS lpmin)</div><div class="ttdef"><b>Definition:</b> <a href="a00716_source.html#l01053">inctlpan.c:1053</a></div></div>
<div class="ttc" id="aa02501_html_a10f53c8d407e8480cb7070b485183d74"><div class="ttname"><a href="a02501.html#a10f53c8d407e8480cb7070b485183d74">_PFNCLIENT::pfnButtonWndProc</a></div><div class="ttdeci">PROC pfnButtonWndProc</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00735">user.h:735</a></div></div>
<div class="ttc" id="aa02513_html_acdfddcbcfef5a27210ac39e03825f9ee"><div class="ttname"><a href="a02513.html#acdfddcbcfef5a27210ac39e03825f9ee">tagSERVERINFO::hIcoWindows</a></div><div class="ttdeci">HICON hIcoWindows</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01038">user.h:1038</a></div></div>
<div class="ttc" id="aa03257_html_ad846449b20bf30ca2a61fb9a236cbfd1"><div class="ttname"><a href="a03257.html#ad846449b20bf30ca2a61fb9a236cbfd1">dtDblClk</a></div><div class="ttdeci">UINT dtDblClk</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00488">kernel/globals.c:488</a></div></div>
<div class="ttc" id="aa00671_html_af0a7cefc146c51b12208e692b0f67960"><div class="ttname"><a href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a></div><div class="ttdeci">LONG xxxDefWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00671_source.html#l01146">dwp.c:1146</a></div></div>
<div class="ttc" id="aa03257_html_ab5e418292fc20ee99143b63ca057a963"><div class="ttname"><a href="a03257.html#ab5e418292fc20ee99143b63ca057a963">hrgnValidSum</a></div><div class="ttdeci">HRGN hrgnValidSum</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00438">kernel/globals.c:438</a></div></div>
<div class="ttc" id="aa02501_html"><div class="ttname"><a href="a02501.html">_PFNCLIENT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00726">user.h:726</a></div></div>
<div class="ttc" id="aa00371_html_ad6b24a3d61abdc148c8751b5c5add686"><div class="ttname"><a href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a></div><div class="ttdeci">#define RIP_VERBOSE</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00030">winerrp.h:30</a></div></div>
<div class="ttc" id="aa03257_html_ae27e710974ce255a6e84a0d3c50d548b"><div class="ttname"><a href="a03257.html#ae27e710974ce255a6e84a0d3c50d548b">fIconTitleWrap</a></div><div class="ttdeci">BOOL fIconTitleWrap</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00297">kernel/globals.c:297</a></div></div>
<div class="ttc" id="aa02605_html_af0da313e582dc95c2853349086631cd8"><div class="ttname"><a href="a02605.html#af0da313e582dc95c2853349086631cd8">tagDISPLAYINFO::hdcScreen</a></div><div class="ttdeci">HDC hdcScreen</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01566">user.h:1566</a></div></div>
<div class="ttc" id="aa03257_html_a4f5134b432ea3720f65068e5e8f857db"><div class="ttname"><a href="a03257.html#a4f5134b432ea3720f65068e5e8f857db">gpviCPUserPreferences</a></div><div class="ttdeci">PROFILEVALUEINFO gpviCPUserPreferences[SPI_UP_COUNT]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00515">kernel/globals.c:515</a></div></div>
<div class="ttc" id="aa03257_html_a11a75d31dd330968778abca1b9ef9906"><div class="ttname"><a href="a03257.html#a11a75d31dd330968778abca1b9ef9906">hrgnSW</a></div><div class="ttdeci">HRGN hrgnSW</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00460">kernel/globals.c:460</a></div></div>
<div class="ttc" id="aa00827_html_aff05938a3204057951e7b61eef8b640e"><div class="ttname"><a href="a00827.html#aff05938a3204057951e7b61eef8b640e">xxxSystemParametersInfo</a></div><div class="ttdeci">BOOL xxxSystemParametersInfo(UINT wFlag, DWORD wParam, PVOID lParam, UINT flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00827_source.html#l01195">rare.c:1195</a></div></div>
<div class="ttc" id="aa03257_html_a31a801a6f7836cef5d45ab70aa8aadc2"><div class="ttname"><a href="a03257.html#a31a801a6f7836cef5d45ab70aa8aadc2">hrgnScrlVis</a></div><div class="ttdeci">HRGN hrgnScrlVis</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00463">kernel/globals.c:463</a></div></div>
<div class="ttc" id="aa02821_html_ad87885eba13efdc5f35157c02c627d2e"><div class="ttname"><a href="a02821.html#ad87885eba13efdc5f35157c02c627d2e">tagCURSOR::rt</a></div><div class="ttdeci">WORD rt</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01809">userk.h:1809</a></div></div>
<div class="ttc" id="aa03257_html_a1a25b2f7b86446546fbe19a67e20fc2a"><div class="ttname"><a href="a03257.html#a1a25b2f7b86446546fbe19a67e20fc2a">gpwszDDEMLEVENTCLASS</a></div><div class="ttdeci">LPWSTR gpwszDDEMLEVENTCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00278">kernel/globals.c:278</a></div></div>
<div class="ttc" id="aa00953_html_a392e62da233ed3e2f7c3fd4f487a3896"><div class="ttname"><a href="a00953.html#a392e62da233ed3e2f7c3fd4f487a3896">INT</a></div><div class="ttdeci">int INT</div><div class="ttdef"><b>Definition:</b> <a href="a00953_source.html#l00006">bench.c:6</a></div></div>
<div class="ttc" id="aa02513_html_af5b9904727246903b73027a6008559db"><div class="ttname"><a href="a02513.html#af5b9904727246903b73027a6008559db">tagSERVERINFO::fPaletteDisplay</a></div><div class="ttdeci">BOOL fPaletteDisplay</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00993">user.h:993</a></div></div>
<div class="ttc" id="aa03257_html_ade9d7349a05eeafab71c77bbdad60ed9"><div class="ttname"><a href="a03257.html#ade9d7349a05eeafab71c77bbdad60ed9">szy</a></div><div class="ttdeci">WCHAR szy[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00305">kernel/globals.c:305</a></div></div>
<div class="ttc" id="aa00371_html_af713eb6f9b50ac607c1fed71a5f678f8"><div class="ttname"><a href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a></div><div class="ttdeci">#define RIPMSG3(flags, szFmt, p1, p2, p3)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00134">winerrp.h:134</a></div></div>
<div class="ttc" id="aa00719_html_a714380420b4a3dff79653064c561ce2f"><div class="ttname"><a href="a00719.html#a714380420b4a3dff79653064c561ce2f">CI_GetClrVal</a></div><div class="ttdeci">DWORD CI_GetClrVal(LPWSTR p)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00593">init.c:593</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa00371_html_afa5f32de88404289ec03cd2c0e61e94f"><div class="ttname"><a href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a></div><div class="ttdeci">#define RIP_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00028">winerrp.h:28</a></div></div>
<div class="ttc" id="aa00821_html_afd5f24eaf2b8288a787831e5ba3f525b"><div class="ttname"><a href="a00821.html#afd5f24eaf2b8288a787831e5ba3f525b">OpenCacheKeyEx</a></div><div class="ttdeci">HANDLE OpenCacheKeyEx(UINT idSection, ACCESS_MASK amRequest)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00091">profile.c:91</a></div></div>
<div class="ttc" id="aa02837_html"><div class="ttname"><a href="a02837.html">tagPOPUPMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01880">userk.h:1880</a></div></div>
<div class="ttc" id="aa03629_html"><div class="ttname"><a href="a03629.html">precomp.h</a></div></div>
<div class="ttc" id="aa00371_html_a31aafffb49dfe98bdc749c9b35c90162"><div class="ttname"><a href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a></div><div class="ttdeci">#define RIPMSG1(flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00132">winerrp.h:132</a></div></div>
<div class="ttc" id="aa00020_html_aa6a72bcda08bb85cd8c46b2980008ae6"><div class="ttname"><a href="a00020.html#aa6a72bcda08bb85cd8c46b2980008ae6">szNull</a></div><div class="ttdeci">WCHAR szNull[2]</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00051">clglobal.c:51</a></div></div>
<div class="ttc" id="aa03017_html"><div class="ttname"><a href="a03017.html">tagSWITCHWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l05099">userk.h:5099</a></div></div>
<div class="ttc" id="aa00719_html_a7c538d9a8b4078520805eec11f02abb8"><div class="ttname"><a href="a00719.html#a7c538d9a8b4078520805eec11f02abb8">_LoadCursorsAndIcons</a></div><div class="ttdeci">VOID _LoadCursorsAndIcons()</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00833">init.c:833</a></div></div>
<div class="ttc" id="aa02605_html_afb2df48c699295f358dd262c291570a2"><div class="ttname"><a href="a02605.html#afb2df48c699295f358dd262c291570a2">tagDISPLAYINFO::pdceFirst</a></div><div class="ttdeci">PDCE pdceFirst</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01574">user.h:1574</a></div></div>
<div class="ttc" id="aa00719_html_a72ef54e7cd33b78219fba2e112359f00"><div class="ttname"><a href="a00719.html#a72ef54e7cd33b78219fba2e112359f00">LW_LoadDllList</a></div><div class="ttdeci">VOID LW_LoadDllList(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00460">init.c:460</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa00608_html_a2f03d318ac2c5bd1f77147cebddfaf75"><div class="ttname"><a href="a00608.html#a2f03d318ac2c5bd1f77147cebddfaf75">RtlInitUnicodeStringOrId</a></div><div class="ttdeci">void RtlInitUnicodeStringOrId(PUNICODE_STRING pstrName, LPWSTR lpstrName)</div><div class="ttdef"><b>Definition:</b> <a href="a00608_source.html#l00310">base.c:310</a></div></div>
<div class="ttc" id="aa02513_html_a5e7a3331725493ebc7e716c296c86e24"><div class="ttname"><a href="a02513.html#a5e7a3331725493ebc7e716c296c86e24">tagSERVERINFO::szRETRY</a></div><div class="ttdeci">WCHAR szRETRY[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01027">user.h:1027</a></div></div>
<div class="ttc" id="aa00623_html_a4c14a53428d713555d8ad6c288b4c92f"><div class="ttname"><a href="a00623.html#a4c14a53428d713555d8ad6c288b4c92f">InternalRegisterClassEx</a></div><div class="ttdeci">PCLS InternalRegisterClassEx(LPWNDCLASSEX lpwndcls, WORD fnid, DWORD flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00623_source.html#l00211">class.c:211</a></div></div>
<div class="ttc" id="aa03638_html_aedc8dc2d00e3a727cd22a983b28b1ce8"><div class="ttname"><a href="a03638.html#aedc8dc2d00e3a727cd22a983b28b1ce8">ghbrWhite</a></div><div class="ttdeci">HBRUSH ghbrWhite</div><div class="ttdef"><b>Definition:</b> <a href="a03638_source.html#l00023">client/random.c:23</a></div></div>
<div class="ttc" id="aa00890_html_aeb0ecd4f24f90bc0555b80905c3bf0bb"><div class="ttname"><a href="a00890.html#aeb0ecd4f24f90bc0555b80905c3bf0bb">xxxSwitchWndProc</a></div><div class="ttdeci">LONG xxxSwitchWndProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00890_source.html#l01510">tmswitch.c:1510</a></div></div>
<div class="ttc" id="aa03257_html_afcb08dee1ca59899aaa2ecf39c0edc40"><div class="ttname"><a href="a03257.html#afcb08dee1ca59899aaa2ecf39c0edc40">szY</a></div><div class="ttdeci">WCHAR szY[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00304">kernel/globals.c:304</a></div></div>
<div class="ttc" id="aa00719_html_adfb09fae968bc7438bd30f7537586b85"><div class="ttname"><a href="a00719.html#adfb09fae968bc7438bd30f7537586b85">LastFontLoaded</a></div><div class="ttdeci">int LastFontLoaded</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00028">init.c:28</a></div></div>
<div class="ttc" id="aa00938_html_af342e0e9b49a1c8b503ea5d49c6c863d"><div class="ttname"><a href="a00938.html#af342e0e9b49a1c8b503ea5d49c6c863d">wsprintfW</a></div><div class="ttdeci">int WINAPIV wsprintfW(LPWSTR lpOut, LPCWSTR lpFmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="a00938_source.html#l00963">wsprintf.c:963</a></div></div>
<div class="ttc" id="aa02889_html_a215417492fadc11678c689da2447f02e"><div class="ttname"><a href="a02889.html#a215417492fadc11678c689da2447f02e">tagTHREADINFO::ppi</a></div><div class="ttdeci">struct tagPROCESSINFO * ppi</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02271">userk.h:2271</a></div></div>
<div class="ttc" id="aa02513_html_ac4113b9c71fc9dabc2e2c5854d026d6e"><div class="ttname"><a href="a02513.html#ac4113b9c71fc9dabc2e2c5854d026d6e">tagSERVERINFO::fSnapTo</a></div><div class="ttdeci">BOOL fSnapTo</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00987">user.h:987</a></div></div>
<div class="ttc" id="aa00719_html_a7a930ff5feb5b7d66ca9dc016650049d"><div class="ttname"><a href="a00719.html#a7a930ff5feb5b7d66ca9dc016650049d">bPermanentFontsLoaded</a></div><div class="ttdeci">BOOL bPermanentFontsLoaded</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00027">init.c:27</a></div></div>
<div class="ttc" id="aa03257_html_a5528f163b5c14da08ed8d6872d9553d9"><div class="ttname"><a href="a03257.html#a5528f163b5c14da08ed8d6872d9553d9">fDragFullWindows</a></div><div class="ttdeci">BOOL fDragFullWindows</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00290">kernel/globals.c:290</a></div></div>
<div class="ttc" id="aa03257_html_aec7ff19e26adc101b25587d2cb55dfa0"><div class="ttname"><a href="a03257.html#aec7ff19e26adc101b25587d2cb55dfa0">guDdeSendTimeout</a></div><div class="ttdeci">UINT guDdeSendTimeout</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00279">kernel/globals.c:279</a></div></div>
<div class="ttc" id="aa03257_html_a563994bd74d1e838db9b57fba52976d5"><div class="ttname"><a href="a03257.html#a563994bd74d1e838db9b57fba52976d5">hrgnInv2</a></div><div class="ttdeci">HRGN hrgnInv2</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00455">kernel/globals.c:455</a></div></div>
<div class="ttc" id="aa00680_html_acf9e2c7fe5f9c95e7c76d945174fb5ea"><div class="ttname"><a href="a00680.html#acf9e2c7fe5f9c95e7c76d945174fb5ea">W32pProcessCallout</a></div><div class="ttdeci">NTSTATUS W32pProcessCallout(IN PW32PROCESS Process, IN BOOLEAN Initialize)</div></div>
<div class="ttc" id="aa00719_html_a5638b444ba56a245b6a06f1c48fdb042"><div class="ttname"><a href="a00719.html#a5638b444ba56a245b6a06f1c48fdb042">xxxInitWinStaDevices</a></div><div class="ttdeci">BOOL xxxInitWinStaDevices(PWINDOWSTATION pwinsta)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00324">init.c:324</a></div></div>
<div class="ttc" id="aa00719_html_a253ba2455c12b938037ddf34010ea766"><div class="ttname"><a href="a00719.html#a253ba2455c12b938037ddf34010ea766">LW_LoadResources</a></div><div class="ttdeci">VOID LW_LoadResources(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00278">init.c:278</a></div></div>
<div class="ttc" id="aa03257_html_ad3d93d814e4ef4353a897bf4bc1baf61"><div class="ttname"><a href="a03257.html#ad3d93d814e4ef4353a897bf4bc1baf61">hbrHungApp</a></div><div class="ttdeci">HBRUSH hbrHungApp</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00333">kernel/globals.c:333</a></div></div>
<div class="ttc" id="aa00656_html_a00c37f6f9665c90db0ccc814ba381a62"><div class="ttname"><a href="a00656.html#a00c37f6f9665c90db0ccc814ba381a62">xxxDesktopWndProc</a></div><div class="ttdeci">LONG xxxDesktopWndProc(PWND pwnd, UINT message, DWORD wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l00499">desktop.c:499</a></div></div>
<div class="ttc" id="aa00719_html_a8de0c4e654c3f80bfd463a5a2d35a5b0"><div class="ttname"><a href="a00719.html#a8de0c4e654c3f80bfd463a5a2d35a5b0">xxxODI_ColorInit</a></div><div class="ttdeci">VOID xxxODI_ColorInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00645">init.c:645</a></div></div>
<div class="ttc" id="aa03001_html_a3ac49f8e66551e660f7c90ed6cb24c77"><div class="ttname"><a href="a03001.html#a3ac49f8e66551e660f7c90ed6cb24c77">tagPROFILEVALUEINFO::uSection</a></div><div class="ttdeci">UINT uSection</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l04891">userk.h:4891</a></div></div>
<div class="ttc" id="aa03257_html_a94d85fecc1042e33913c3cd91dbc87e3"><div class="ttname"><a href="a03257.html#a94d85fecc1042e33913c3cd91dbc87e3">hrgnVisNew</a></div><div class="ttdeci">HRGN hrgnVisNew</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00435">kernel/globals.c:435</a></div></div>
<div class="ttc" id="aa00020_html_ac02f0141c423acd033ecdd2a757a3cc1"><div class="ttname"><a href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a></div><div class="ttdeci">SHAREDINFO gSharedInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00040">clglobal.c:40</a></div></div>
<div class="ttc" id="aa00719_html_aede6de42e849405c86466f41e45e6fbd"><div class="ttname"><a href="a00719.html#aede6de42e849405c86466f41e45e6fbd">LW_RegisterWindows</a></div><div class="ttdeci">VOID LW_RegisterWindows(BOOL fSystem)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01070">init.c:1070</a></div></div>
<div class="ttc" id="aa00821_html_a7c1fd3e46c9bf3a9b4f425e2e3ef705c"><div class="ttname"><a href="a00821.html#a7c1fd3e46c9bf3a9b4f425e2e3ef705c">FastGetProfileValue</a></div><div class="ttdeci">DWORD FastGetProfileValue(UINT idSection, LPCWSTR lpKeyName, LPBYTE lpDefault, LPBYTE lpReturn, UINT cbSizeReturn)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00763">profile.c:763</a></div></div>
<div class="ttc" id="aa02809_html"><div class="ttname"><a href="a02809.html">tagWINDOWSTATION</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01744">userk.h:1744</a></div></div>
<div class="ttc" id="aa03257_html_addda7b597eb0cef9c87a5d0b353c012c"><div class="ttname"><a href="a03257.html#addda7b597eb0cef9c87a5d0b353c012c">szUNTITLED</a></div><div class="ttdeci">WCHAR szUNTITLED[15]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00301">kernel/globals.c:301</a></div></div>
<div class="ttc" id="aa03257_html_a34540aa45c8c636fafcabd654f4b612b"><div class="ttname"><a href="a03257.html#a34540aa45c8c636fafcabd654f4b612b">gargbInitial</a></div><div class="ttdeci">CONST COLORREF gargbInitial[COLOR_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00336">kernel/globals.c:336</a></div></div>
<div class="ttc" id="aa03257_html_a0714aa134111134ba9c46aaf10a25adc"><div class="ttname"><a href="a03257.html#a0714aa134111134ba9c46aaf10a25adc">szN</a></div><div class="ttdeci">WCHAR szN[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00306">kernel/globals.c:306</a></div></div>
<div class="ttc" id="aa02513_html_ac2a106853e37d6dacaa513e71f9c6e00"><div class="ttname"><a href="a02513.html#ac2a106853e37d6dacaa513e71f9c6e00">tagSERVERINFO::szABORT</a></div><div class="ttdeci">WCHAR szABORT[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01026">user.h:1026</a></div></div>
<div class="ttc" id="aa03257_html_a4c545d9814e49026b88914e087e66047"><div class="ttname"><a href="a03257.html#a4c545d9814e49026b88914e087e66047">LangToggle</a></div><div class="ttdeci">KBDLANGTOGGLE LangToggle[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00217">kernel/globals.c:217</a></div></div>
<div class="ttc" id="aa03257_html_ab597263bdbb3441715804712fcf29e6d"><div class="ttname"><a href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a></div><div class="ttdeci">PDISPLAYINFO gpDispInfo</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00125">kernel/globals.c:125</a></div></div>
<div class="ttc" id="aa00821_html_a71ab7da1e1b58e117d8fe2bcca8fcdb0"><div class="ttname"><a href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a></div><div class="ttdeci">BOOL FastOpenProfileUserMapping(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00160">profile.c:160</a></div></div>
<div class="ttc" id="aa02513_html_a79a0ad1222701f3a04d76bfc5f2543f8"><div class="ttname"><a href="a02513.html#a79a0ad1222701f3a04d76bfc5f2543f8">tagSERVERINFO::szHELP</a></div><div class="ttdeci">WCHAR szHELP[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01030">user.h:1030</a></div></div>
<div class="ttc" id="aa00821_html_aa99363e718e5d1c8d2d5232e51fe2716"><div class="ttname"><a href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a></div><div class="ttdeci">BOOL FastCloseProfileUserMapping(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00224">profile.c:224</a></div></div>
<div class="ttc" id="aa00680_html_a3d55823092d5efdce994868cd5efa7d8"><div class="ttname"><a href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a></div><div class="ttdeci">PVOID SharedAlloc(UINT cbAlloc)</div><div class="ttdef"><b>Definition:</b> <a href="a00680_source.html#l00305">ex.c:305</a></div></div>
<div class="ttc" id="aa02829_html_a017a334d4e7069c978220302c90f7d68"><div class="ttname"><a href="a02829.html#a017a334d4e7069c978220302c90f7d68">tagSYSCFGICO::Id</a></div><div class="ttdeci">WORD Id</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01842">userk.h:1842</a></div></div>
<div class="ttc" id="aa00821_html_a035665e7f113b339713a981bfb45afec"><div class="ttname"><a href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a></div><div class="ttdeci">DWORD FastGetProfileStringW(UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD cchBuf)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00444">profile.c:444</a></div></div>
<div class="ttc" id="aa00878_html_ac151403a049dfeec6d291f34229d7739"><div class="ttname"><a href="a00878.html#ac151403a049dfeec6d291f34229d7739">_SetDoubleClickTime</a></div><div class="ttdeci">BOOL APIENTRY _SetDoubleClickTime(UINT dtTime)</div><div class="ttdef"><b>Definition:</b> <a href="a00878_source.html#l00065">sysmet.c:65</a></div></div>
<div class="ttc" id="aa03005_html"><div class="ttname"><a href="a03005.html">tagPROFINTINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l04968">userk.h:4968</a></div></div>
<div class="ttc" id="aa02513_html_a6f4de7f11f44318feef70149fa2d31cc"><div class="ttname"><a href="a02513.html#a6f4de7f11f44318feef70149fa2d31cc">tagSERVERINFO::apfnClientW</a></div><div class="ttdeci">struct _PFNCLIENT apfnClientW</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00966">user.h:966</a></div></div>
<div class="ttc" id="aa02513_html_a8a3f3844be2a8a13d60b63c522aa52dd"><div class="ttname"><a href="a02513.html#a8a3f3844be2a8a13d60b63c522aa52dd">tagSERVERINFO::szYES</a></div><div class="ttdeci">WCHAR szYES[10]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01024">user.h:1024</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa03257_html_a0787ffd7a666153b6a60d8eb73917037"><div class="ttname"><a href="a03257.html#a0787ffd7a666153b6a60d8eb73917037">hrgnScrlSrc</a></div><div class="ttdeci">HRGN hrgnScrlSrc</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00464">kernel/globals.c:464</a></div></div>
<div class="ttc" id="aa02513_html_af466f985b45b51d9eafae62842a91522"><div class="ttname"><a href="a02513.html#af466f985b45b51d9eafae62842a91522">tagSERVERINFO::szNO</a></div><div class="ttdeci">WCHAR szNO[10]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01025">user.h:1025</a></div></div>
<div class="ttc" id="aa03257_html_a5ff58507230b40753f18f9a58aa98e4f"><div class="ttname"><a href="a03257.html#a5ff58507230b40753f18f9a58aa98e4f">bFontsAreLoaded</a></div><div class="ttdeci">BOOL bFontsAreLoaded</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00410">kernel/globals.c:410</a></div></div>
<div class="ttc" id="aa00716_html_acd52966f6d457f68619ccb6006e4fccf"><div class="ttname"><a href="a00716.html#acd52966f6d457f68619ccb6006e4fccf">SetIconMetrics</a></div><div class="ttdeci">VOID SetIconMetrics(LPICONMETRICS lpicon)</div><div class="ttdef"><b>Definition:</b> <a href="a00716_source.html#l01096">inctlpan.c:1096</a></div></div>
<div class="ttc" id="aa03257_html_a0c32ef18f0038af530970be1400ae8a1"><div class="ttname"><a href="a03257.html#a0c32ef18f0038af530970be1400ae8a1">hrgnScrl2</a></div><div class="ttdeci">HRGN hrgnScrl2</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00462">kernel/globals.c:462</a></div></div>
<div class="ttc" id="aa00719_html_a8e2c487045938ea775827e2d2e5bca69"><div class="ttname"><a href="a00719.html#a8e2c487045938ea775827e2d2e5bca69">UpdateSystemIconsFromRegistry</a></div><div class="ttdeci">VOID UpdateSystemIconsFromRegistry(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00955">init.c:955</a></div></div>
<div class="ttc" id="aa00821_html_a118e1e46632af34063e8683498631431"><div class="ttname"><a href="a00821.html#a118e1e46632af34063e8683498631431">FastWriteProfileStringW</a></div><div class="ttdeci">BOOL FastWriteProfileStringW(UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpString)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00592">profile.c:592</a></div></div>
<div class="ttc" id="aa00821_html_a4bb047d4765563a6842b46c9757188e9"><div class="ttname"><a href="a00821.html#a4bb047d4765563a6842b46c9757188e9">FastGetProfileKeysW</a></div><div class="ttdeci">DWORD FastGetProfileKeysW(UINT idSection, LPCWSTR lpDefault, LPWSTR *lpReturnedString)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00298">profile.c:298</a></div></div>
<div class="ttc" id="aa02513_html_aa1261ab9a9e71ca59200a15e00b11520"><div class="ttname"><a href="a02513.html#aa1261ab9a9e71ca59200a15e00b11520">tagSERVERINFO::szCANCEL</a></div><div class="ttdeci">WCHAR szCANCEL[15]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01023">user.h:1023</a></div></div>
<div class="ttc" id="aa00821_html_aabe51cb8f870451f1872644c082156a2"><div class="ttname"><a href="a00821.html#aabe51cb8f870451f1872644c082156a2">UT_FastGetProfileIntsW</a></div><div class="ttdeci">BOOL UT_FastGetProfileIntsW(PPROFINTINFO ppii)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00960">profile.c:960</a></div></div>
<div class="ttc" id="aa02513_html_a6d4a3d0da39a9625530bd9589823fbf0"><div class="ttname"><a href="a02513.html#a6d4a3d0da39a9625530bd9589823fbf0">tagSERVERINFO::wMaxRightOverlapChars</a></div><div class="ttdeci">int wMaxRightOverlapChars</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01005">user.h:1005</a></div></div>
<div class="ttc" id="aa00821_html_ac6fcd0c4a1edcf555a8934429c71db81"><div class="ttname"><a href="a00821.html#ac6fcd0c4a1edcf555a8934429c71db81">FastGetProfileIntW</a></div><div class="ttdeci">UINT FastGetProfileIntW(UINT idSection, LPCWSTR lpKeyName, UINT nDefault)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00548">profile.c:548</a></div></div>
<div class="ttc" id="aa03257_html_a6cdf8902d16435dff1e0c8bc95783563"><div class="ttname"><a href="a03257.html#a6cdf8902d16435dff1e0c8bc95783563">hrgnGDC</a></div><div class="ttdeci">HRGN hrgnGDC</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00444">kernel/globals.c:444</a></div></div>
<div class="ttc" id="aa02521_html_af7e102138cc931684101f821b7ef2788"><div class="ttname"><a href="a02521.html#af7e102138cc931684101f821b7ef2788">tagSHAREDINFO::pszDllList</a></div><div class="ttdeci">LPWSTR pszDllList</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01066">user.h:1066</a></div></div>
<div class="ttc" id="aa00899_html_ac43db2991c9272fa3c024febacc0cb1e"><div class="ttname"><a href="a00899.html#ac43db2991c9272fa3c024febacc0cb1e">ClientLoadLocalT1Fonts</a></div><div class="ttdeci">VOID ClientLoadLocalT1Fonts()</div></div>
<div class="ttc" id="aa03257_html_addf15f6f42e3d7434a031cbe147b9bd7"><div class="ttname"><a href="a03257.html#addf15f6f42e3d7434a031cbe147b9bd7">pState</a></div><div class="ttdeci">BYTE * pState</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00299">kernel/globals.c:299</a></div></div>
<div class="ttc" id="aa02605_html_a8a450d9b64d91039c5a52d60440326e2"><div class="ttname"><a href="a02605.html#a8a450d9b64d91039c5a52d60440326e2">tagDISPLAYINFO::cyGray</a></div><div class="ttdeci">int cyGray</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01573">user.h:1573</a></div></div>
<div class="ttc" id="aa02805_html"><div class="ttname"><a href="a02805.html">tagDESKWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01729">userk.h:1729</a></div></div>
<div class="ttc" id="aa03257_html_a8b8884d8d8e4d1f4f0393bf0e96dd90d"><div class="ttname"><a href="a03257.html#a8b8884d8d8e4d1f4f0393bf0e96dd90d">gbExtendedSounds</a></div><div class="ttdeci">BOOL gbExtendedSounds</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00288">kernel/globals.c:288</a></div></div>
<div class="ttc" id="aa03001_html_a9c2868e2318a94e1f5ab3cc6c042c82d"><div class="ttname"><a href="a03001.html#a9c2868e2318a94e1f5ab3cc6c042c82d">tagPROFILEVALUEINFO::pwszKeyName</a></div><div class="ttdeci">LPCWSTR pwszKeyName</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l04892">userk.h:4892</a></div></div>
<div class="ttc" id="aa00809_html_a4bcdf0a11674dc5a7c6747c3fe9eb38b"><div class="ttname"><a href="a00809.html#a4bcdf0a11674dc5a7c6747c3fe9eb38b">KeyboardInfo</a></div><div class="ttdeci">KEYBOARD_ATTRIBUTES KeyboardInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00809_source.html#l00049">ntinput.c:49</a></div></div>
<div class="ttc" id="aa03001_html_aa657673cba197817acdfcce5a0707c1b"><div class="ttname"><a href="a03001.html#aa657673cba197817acdfcce5a0707c1b">tagPROFILEVALUEINFO::dwValue</a></div><div class="ttdeci">DWORD dwValue</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l04890">userk.h:4890</a></div></div>
<div class="ttc" id="aa03257_html_a22582da0c3535d7a4fc98d7a7b03cc18"><div class="ttname"><a href="a03257.html#a22582da0c3535d7a4fc98d7a7b03cc18">hrgnInvalid</a></div><div class="ttdeci">HRGN hrgnInvalid</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00439">kernel/globals.c:439</a></div></div>
<div class="ttc" id="aa00719_html_ac25433f528d8c8edcc8620bbf1cc337a"><div class="ttname"><a href="a00719.html#ac25433f528d8c8edcc8620bbf1cc337a">xxxFinalUserInit</a></div><div class="ttdeci">VOID xxxFinalUserInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01535">init.c:1535</a></div></div>
<div class="ttc" id="aa02905_html"><div class="ttname"><a href="a02905.html">tagPROCESSINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02386">userk.h:2386</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa02821_html_ac0e720eb07b98eccc6c513a55b20d999"><div class="ttname"><a href="a02821.html#ac0e720eb07b98eccc6c513a55b20d999">tagCURSOR::pcurNext</a></div><div class="ttdeci">struct tagCURSOR * pcurNext</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01805">userk.h:1805</a></div></div>
<div class="ttc" id="aa00719_html_a89f67468c56d0f141c0d9547ac3cfbec"><div class="ttname"><a href="a00719.html#a89f67468c56d0f141c0d9547ac3cfbec">InitCreateRgn</a></div><div class="ttdeci">HRGN InitCreateRgn(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00576">init.c:576</a></div></div>
<div class="ttc" id="aa02821_html_af7620bf3cfee2cfb1f0f5dd0289dda65"><div class="ttname"><a href="a02821.html#af7620bf3cfee2cfb1f0f5dd0289dda65">tagCURSOR::cx</a></div><div class="ttdeci">DWORD cx</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01811">userk.h:1811</a></div></div>
<div class="ttc" id="aa03257_html_aa5e045eee922b98d88fdc4e2180884ad"><div class="ttname"><a href="a03257.html#aa5e045eee922b98d88fdc4e2180884ad">hrgnSPB2</a></div><div class="ttdeci">HRGN hrgnSPB2</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00451">kernel/globals.c:451</a></div></div>
<div class="ttc" id="aa03257_html_a3c299e89eb5b0923ac37cc8d29c65d06"><div class="ttname"><a href="a03257.html#a3c299e89eb5b0923ac37cc8d29c65d06">gcxMouseHover</a></div><div class="ttdeci">UINT gcxMouseHover</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00498">kernel/globals.c:498</a></div></div>
<div class="ttc" id="aa00719_html_a4a658246da968fd0e047ad44216018c3"><div class="ttname"><a href="a00719.html#a4a658246da968fd0e047ad44216018c3">InitializeClientPfnArrays</a></div><div class="ttdeci">NTSTATUS InitializeClientPfnArrays(PPFNCLIENT ppfnClientA, PPFNCLIENT ppfnClientW, HANDLE hModUser)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01596">init.c:1596</a></div></div>
<div class="ttc" id="aa02513_html_acb7132559e18fe5d6f700a10a8d20cef"><div class="ttname"><a href="a02513.html#acb7132559e18fe5d6f700a10a8d20cef">tagSERVERINFO::hIconSmWindows</a></div><div class="ttdeci">HICON hIconSmWindows</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01037">user.h:1037</a></div></div>
<div class="ttc" id="aa00719_html_ab001d98c936b49d74ea3101b33033237"><div class="ttname"><a href="a00719.html#ab001d98c936b49d74ea3101b33033237">CCLASSES</a></div><div class="ttdeci">#define CCLASSES</div></div>
<div class="ttc" id="aa00719_html_a67b4aa403d939b6ff87059f65a96252f"><div class="ttname"><a href="a00719.html#a67b4aa403d939b6ff87059f65a96252f">LW_DesktopIconInit</a></div><div class="ttdeci">BOOL LW_DesktopIconInit(LPLOGFONT lplf)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01376">init.c:1376</a></div></div>
<div class="ttc" id="aa00719_html_a2839959cac045c8e2426c585aefdb932"><div class="ttname"><a href="a00719.html#a2839959cac045c8e2426c585aefdb932">xxxLW_LoadFonts</a></div><div class="ttdeci">VOID xxxLW_LoadFonts(BOOL bRemote)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01322">init.c:1322</a></div></div>
<div class="ttc" id="aa00719_html_adb7173363e74ebfaa630751c365c72ea"><div class="ttname"><a href="a00719.html#adb7173363e74ebfaa630751c365c72ea">PATHMAX</a></div><div class="ttdeci">#define PATHMAX</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01679">init.c:1679</a></div></div>
<div class="ttc" id="aa03257_html_a22ecca33d4bd6f0b6dfbecaeea7a2b46"><div class="ttname"><a href="a03257.html#a22ecca33d4bd6f0b6dfbecaeea7a2b46">hIconTitleFont</a></div><div class="ttdeci">HFONT hIconTitleFont</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00407">kernel/globals.c:407</a></div></div>
<div class="ttc" id="aa03257_html_a3f749009e2dddfbcdd946cdc60859d5d"><div class="ttname"><a href="a03257.html#a3f749009e2dddfbcdd946cdc60859d5d">gfAnimate</a></div><div class="ttdeci">BOOL gfAnimate</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00019">kernel/globals.c:19</a></div></div>
<div class="ttc" id="aa03257_html_a6ed7bdfb32a260cb1f7f148bdd49827f"><div class="ttname"><a href="a03257.html#a6ed7bdfb32a260cb1f7f148bdd49827f">hrgnValid</a></div><div class="ttdeci">HRGN hrgnValid</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00437">kernel/globals.c:437</a></div></div>
<div class="ttc" id="aa00365_html_a98d5a09c34c36cb854dcfe13fa091720"><div class="ttname"><a href="a00365.html#a98d5a09c34c36cb854dcfe13fa091720">GetCharDimensions</a></div><div class="ttdeci">int GetCharDimensions(HDC hDC, TEXTMETRICW *lpTextMetrics, LPINT lpcy)</div></div>
<div class="ttc" id="aa02513_html_a5016bf6e3234c4609b6c7866e0989e49"><div class="ttname"><a href="a02513.html#a5016bf6e3234c4609b6c7866e0989e49">tagSERVERINFO::szOK</a></div><div class="ttdeci">WCHAR szOK[10]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01022">user.h:1022</a></div></div>
<div class="ttc" id="aa02513_html_a125933441b95aca04386827b052dfe42"><div class="ttname"><a href="a02513.html#a125933441b95aca04386827b052dfe42">tagSERVERINFO::dwKeyCache</a></div><div class="ttdeci">DWORD dwKeyCache</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01046">user.h:1046</a></div></div>
<div class="ttc" id="aa02797_html_a53264bfdae9d01cc521f5d35184de3fb"><div class="ttname"><a href="a02797.html#a53264bfdae9d01cc521f5d35184de3fb">tagKBDLANGTOGGLE::bVkey</a></div><div class="ttdeci">BYTE bVkey</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01678">userk.h:1678</a></div></div>
<div class="ttc" id="aa02513_html_a2293bf0ef428f41122dfa8291b92bfae"><div class="ttname"><a href="a02513.html#a2293bf0ef428f41122dfa8291b92bfae">tagSERVERINFO::wMaxLeftOverlapChars</a></div><div class="ttdeci">int wMaxLeftOverlapChars</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01004">user.h:1004</a></div></div>
<div class="ttc" id="aa03257_html_abe81a3e7eac494f2a2f056e340f2afe2"><div class="ttname"><a href="a03257.html#abe81a3e7eac494f2a2f056e340f2afe2">sz1</a></div><div class="ttdeci">WCHAR sz1[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00307">kernel/globals.c:307</a></div></div>
<div class="ttc" id="aa02513_html_a88b328bbd2874533737fda1bac5b42f5"><div class="ttname"><a href="a02513.html#a88b328bbd2874533737fda1bac5b42f5">tagSERVERINFO::ucWheelScrollLines</a></div><div class="ttdeci">UINT ucWheelScrollLines</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00988">user.h:988</a></div></div>
<div class="ttc" id="aa00020_html_a2a5e5a7ee13c7db1bfafcd38bc110734"><div class="ttname"><a href="a00020.html#a2a5e5a7ee13c7db1bfafcd38bc110734">szOneChar</a></div><div class="ttdeci">WCHAR szOneChar[]</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00052">clglobal.c:52</a></div></div>
<div class="ttc" id="aa00719_html_a2b205e9c6498ab55cc74b5cd0d694b59"><div class="ttname"><a href="a00719.html#a2b205e9c6498ab55cc74b5cd0d694b59">vEnumerateRegistryFonts</a></div><div class="ttdeci">VOID vEnumerateRegistryFonts(BOOL bPermanent)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01173">init.c:1173</a></div></div>
<div class="ttc" id="aa03257_html_a190de89de30966bef80ba543dcfaf812"><div class="ttname"><a href="a03257.html#a190de89de30966bef80ba543dcfaf812">iScreenSaveTimeOut</a></div><div class="ttdeci">int iScreenSaveTimeOut</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00482">kernel/globals.c:482</a></div></div>
<div class="ttc" id="aa00599_html_a8da21355419d6a3264c4757a42f47345"><div class="ttname"><a href="a00599.html#a8da21355419d6a3264c4757a42f47345">UpdatePerUserAccessPackSettings</a></div><div class="ttdeci">VOID UpdatePerUserAccessPackSettings(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00599_source.html#l01983">access.c:1983</a></div></div>
<div class="ttc" id="aa03173_html_ad9c59d20619fad480fe93870d584f2fa"><div class="ttname"><a href="a03173.html#ad9c59d20619fad480fe93870d584f2fa">SetSystemImage</a></div><div class="ttdeci">BOOL SetSystemImage(PCURSOR pcur, PCURSOR pcurSys)</div><div class="ttdef"><b>Definition:</b> <a href="a03173_source.html#l00111">kernel/acons.c:111</a></div></div>
<div class="ttc" id="aa02513_html_a4bd85c2f52f502cc32a9bfb9004694ad"><div class="ttname"><a href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tagSERVERINFO::tmSysFont</a></div><div class="ttdeci">TEXTMETRIC tmSysFont</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01017">user.h:1017</a></div></div>
<div class="ttc" id="aa00719_html_a807cb88a984eca981c2de0d6762e97ff"><div class="ttname"><a href="a00719.html#a807cb88a984eca981c2de0d6762e97ff">LoadCPUserPreferences</a></div><div class="ttdeci">BOOL LoadCPUserPreferences(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00151">init.c:151</a></div></div>
<div class="ttc" id="aa00620_html_ad545935ce22b3b3c881eb97851affe7e"><div class="ttname"><a href="a00620.html#ad545935ce22b3b3c881eb97851affe7e">_SetCaretBlinkTime</a></div><div class="ttdeci">BOOL _SetCaretBlinkTime(UINT cmsBlink)</div><div class="ttdef"><b>Definition:</b> <a href="a00620_source.html#l00449">caret.c:449</a></div></div>
<div class="ttc" id="aa03257_html_a1abc23ceeff97872cb88aa4600e7da70"><div class="ttname"><a href="a03257.html#a1abc23ceeff97872cb88aa4600e7da70">nFastAltTabRows</a></div><div class="ttdeci">INT nFastAltTabRows</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00292">kernel/globals.c:292</a></div></div>
<div class="ttc" id="aa00719_html_a0d8ef5056a80a305334bd6c49dfbe32a"><div class="ttname"><a href="a00719.html#a0d8ef5056a80a305334bd6c49dfbe32a">cbAlloc</a></div><div class="ttdeci">#define cbAlloc</div></div>
<div class="ttc" id="aa03257_html_a8741f0bd2bf733c8fbef87e599e2eb5d"><div class="ttname"><a href="a03257.html#a8741f0bd2bf733c8fbef87e599e2eb5d">MouseSpeed</a></div><div class="ttdeci">int MouseSpeed</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00266">kernel/globals.c:266</a></div></div>
<div class="ttc" id="aa00719_html_a78a2cd245ae3fc097177f0838bb7542f"><div class="ttname"><a href="a00719.html#a78a2cd245ae3fc097177f0838bb7542f">GRAY_STRLEN</a></div><div class="ttdeci">#define GRAY_STRLEN</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00022">init.c:22</a></div></div>
<div class="ttc" id="aa00719_html_a48c4c0ff3ac637cb55a5e8898cd67807"><div class="ttname"><a href="a00719.html#a48c4c0ff3ac637cb55a5e8898cd67807">LW_LoadSomeStrings</a></div><div class="ttdeci">VOID LW_LoadSomeStrings(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00433">init.c:433</a></div></div>
<div class="ttc" id="aa03257_html_a4c1cf2caffadb752159315b39aa5b73f"><div class="ttname"><a href="a03257.html#a4c1cf2caffadb752159315b39aa5b73f">hrgnInvalidSum</a></div><div class="ttdeci">HRGN hrgnInvalidSum</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00434">kernel/globals.c:434</a></div></div>
<div class="ttc" id="aa03257_html_a2487ea2ba5c8f8cfa7471b0a20dc5d3e"><div class="ttname"><a href="a03257.html#a2487ea2ba5c8f8cfa7471b0a20dc5d3e">MouseThresh1</a></div><div class="ttdeci">int MouseThresh1</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00267">kernel/globals.c:267</a></div></div>
<div class="ttc" id="aa02821_html_a42ef841c88c6ea1b85c04bab84a32c46"><div class="ttname"><a href="a02821.html#a42ef841c88c6ea1b85c04bab84a32c46">tagCURSOR::strName</a></div><div class="ttdeci">UNICODE_STRING strName</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01807">userk.h:1807</a></div></div>
<div class="ttc" id="aa02513_html_a337256ee4b9e7c11b14e88d307effa30"><div class="ttname"><a href="a02513.html#a337256ee4b9e7c11b14e88d307effa30">tagSERVERINFO::dtCaretBlink</a></div><div class="ttdeci">UINT dtCaretBlink</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00986">user.h:986</a></div></div>
<div class="ttc" id="aa00899_html_ac2181d07596893ed44d18aa267ce4d23"><div class="ttname"><a href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a></div><div class="ttdeci">VOID LeaveCrit(VOID)</div></div>
<div class="ttc" id="aa03257_html_adf0068988d4823d1fa1a18bca501899e"><div class="ttname"><a href="a03257.html#adf0068988d4823d1fa1a18bca501899e">TraceDisplayDriverLoad</a></div><div class="ttdeci">LONG TraceDisplayDriverLoad</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00507">kernel/globals.c:507</a></div></div>
<div class="ttc" id="aa03257_html_a7b0657304d46a9fb993edeab45458ab2"><div class="ttname"><a href="a03257.html#a7b0657304d46a9fb993edeab45458ab2">rgsysico</a></div><div class="ttdeci">SYSCFGICO rgsysico[COIC_CONFIGURABLE]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00388">kernel/globals.c:388</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00644_html_ac94f19fd4bf35ebf88eaea575f87bc0d"><div class="ttname"><a href="a00644.html#ac94f19fd4bf35ebf88eaea575f87bc0d">CreateCacheDC</a></div><div class="ttdeci">HDC CreateCacheDC(PWND pwndOrg, DWORD flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00644_source.html#l01325">dc.c:1325</a></div></div>
<div class="ttc" id="aa03257_html_a64bb480af28b68e29cff83cbea4d5216"><div class="ttname"><a href="a03257.html#a64bb480af28b68e29cff83cbea4d5216">hrgnInv0</a></div><div class="ttdeci">HRGN hrgnInv0</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00453">kernel/globals.c:453</a></div></div>
<div class="ttc" id="aa00719_html_afcc4ee0a9497b1d804ccfe735b9a3dc6"><div class="ttname"><a href="a00719.html#afcc4ee0a9497b1d804ccfe735b9a3dc6">LW_DriversInit</a></div><div class="ttdeci">VOID LW_DriversInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00131">init.c:131</a></div></div>
<div class="ttc" id="aa02605_html_a81fb25d8b2c4e7012c2225397f6fe699"><div class="ttname"><a href="a02605.html#a81fb25d8b2c4e7012c2225397f6fe699">tagDISPLAYINFO::hdcBits</a></div><div class="ttdeci">HDC hdcBits</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01568">user.h:1568</a></div></div>
<div class="ttc" id="aa00809_html_a654780ec59cf403be8fe142395154f54"><div class="ttname"><a href="a00809.html#a654780ec59cf403be8fe142395154f54">InitInput</a></div><div class="ttdeci">VOID InitInput(PWINDOWSTATION pwinsta)</div><div class="ttdef"><b>Definition:</b> <a href="a00809_source.html#l00179">ntinput.c:179</a></div></div>
<div class="ttc" id="aa03257_html_a5bca403874015b2fee3c6bb4997b8c91"><div class="ttname"><a href="a03257.html#a5bca403874015b2fee3c6bb4997b8c91">rgsyscur</a></div><div class="ttdeci">SYSCFGICO rgsyscur[COCR_CONFIGURABLE]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00369">kernel/globals.c:369</a></div></div>
<div class="ttc" id="aa02513_html_af405b2ed63e81980b447932ddc614536"><div class="ttname"><a href="a02513.html#af405b2ed63e81980b447932ddc614536">tagSERVERINFO::argbSystem</a></div><div class="ttdeci">COLORREF argbSystem[COLOR_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00976">user.h:976</a></div></div>
<div class="ttc" id="aa03638_html_ae155f53f9cd74090fe4f5000c5790393"><div class="ttname"><a href="a03638.html#ae155f53f9cd74090fe4f5000c5790393">ghbrBlack</a></div><div class="ttdeci">HBRUSH ghbrBlack</div><div class="ttdef"><b>Definition:</b> <a href="a03638_source.html#l00024">client/random.c:24</a></div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa00899_html_adfabb798e2ea4c25bb947a198b8cf1a0"><div class="ttname"><a href="a00899.html#adfabb798e2ea4c25bb947a198b8cf1a0">ClientFontSweep</a></div><div class="ttdeci">VOID ClientFontSweep(VOID)</div></div>
<div class="ttc" id="aa03257_html_a18dc5228f43e8892d50e033e43f401e0"><div class="ttname"><a href="a03257.html#a18dc5228f43e8892d50e033e43f401e0">nFastAltTabColumns</a></div><div class="ttdeci">INT nFastAltTabColumns</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00293">kernel/globals.c:293</a></div></div>
<div class="ttc" id="aa02513_html_ab72cd487b50bf4603821a822f4b66374"><div class="ttname"><a href="a02513.html#ab72cd487b50bf4603821a822f4b66374">tagSERVERINFO::apfnClientA</a></div><div class="ttdeci">struct _PFNCLIENT apfnClientA</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00965">user.h:965</a></div></div>
<div class="ttc" id="aa03257_html_a0290a2221e753feb7b6a59fcf25f4ffb"><div class="ttname"><a href="a03257.html#a0290a2221e753feb7b6a59fcf25f4ffb">hrgnScrlDst</a></div><div class="ttdeci">HRGN hrgnScrlDst</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00465">kernel/globals.c:465</a></div></div>
<div class="ttc" id="aa00899_html_af44ec82f91d6265c2b9f8db9c41fa675"><div class="ttname"><a href="a00899.html#af44ec82f91d6265c2b9f8db9c41fa675">ClientLoadRemoteT1Fonts</a></div><div class="ttdeci">VOID ClientLoadRemoteT1Fonts()</div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa00719_html_a6fbaa4f2c3cf36d69c0400f1413ac858"><div class="ttname"><a href="a00719.html#a6fbaa4f2c3cf36d69c0400f1413ac858">xxxAddFontResourceW</a></div><div class="ttdeci">int xxxAddFontResourceW(LPWSTR lpFile, FLONG flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00109">init.c:109</a></div></div>
<div class="ttc" id="aa00833_html_a092f3cef61734c7894362e00cf462bf1"><div class="ttname"><a href="a00833.html#a092f3cef61734c7894362e00cf462bf1">xxxSBWndProc</a></div><div class="ttdeci">LONG xxxSBWndProc(PSBWND psbwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00833_source.html#l02005">sbctl.c:2005</a></div></div>
<div class="ttc" id="aa02905_html_a15bec260e31659a4797da9c52b3eb137"><div class="ttname"><a href="a02905.html#a15bec260e31659a4797da9c52b3eb137">tagPROCESSINFO::pclsPublicList</a></div><div class="ttdeci">PCLS pclsPublicList</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02395">userk.h:2395</a></div></div>
<div class="ttc" id="aa02569_html"><div class="ttname"><a href="a02569.html">tagCLS</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01323">user.h:1323</a></div></div>
<div class="ttc" id="aa03257_html_a7d88f6dcdf98714c0bb62233f0fd85df"><div class="ttname"><a href="a03257.html#a7d88f6dcdf98714c0bb62233f0fd85df">hrgnSWP1</a></div><div class="ttdeci">HRGN hrgnSWP1</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00436">kernel/globals.c:436</a></div></div>
<div class="ttc" id="aa03257_html_a151758029188ae177f443ac2d242d177"><div class="ttname"><a href="a03257.html#a151758029188ae177f443ac2d242d177">iconTitleLogFont</a></div><div class="ttdeci">LOGFONT iconTitleLogFont</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00408">kernel/globals.c:408</a></div></div>
<div class="ttc" id="aa03257_html_a2994c3b67bc2d3c7af7adaa11a8bccb0"><div class="ttname"><a href="a03257.html#a2994c3b67bc2d3c7af7adaa11a8bccb0">nKeyboardSpeed</a></div><div class="ttdeci">int nKeyboardSpeed</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00481">kernel/globals.c:481</a></div></div>
<div class="ttc" id="aa03257_html_ad16ba1d376392ea2e23fbea4fa166ad7"><div class="ttname"><a href="a03257.html#ad16ba1d376392ea2e23fbea4fa166ad7">fBeep</a></div><div class="ttdeci">BOOL fBeep</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00287">kernel/globals.c:287</a></div></div>
<div class="ttc" id="aa00809_html_a75f64630ec95048fa36feb77ad8e8b71"><div class="ttname"><a href="a00809.html#a75f64630ec95048fa36feb77ad8e8b71">SetKeyboardRate</a></div><div class="ttdeci">VOID SetKeyboardRate(UINT nKeySpeedAndDelay)</div><div class="ttdef"><b>Definition:</b> <a href="a00809_source.html#l01646">ntinput.c:1646</a></div></div>
<div class="ttc" id="aa00347_html_a29061e7f1dbc13f5bbd8ec075bde8efc"><div class="ttname"><a href="a00347.html#a29061e7f1dbc13f5bbd8ec075bde8efc">gapulCvt_VK</a></div><div class="ttdeci">PULONG * gapulCvt_VK</div><div class="ttdef"><b>Definition:</b> <a href="a00722_source.html#l00120">kbd.c:120</a></div></div>
<div class="ttc" id="aa02657_html"><div class="ttname"><a href="a02657.html">tagSBWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02374">user.h:2374</a></div></div>
<div class="ttc" id="aa03257_html_a2f741561065791c743a70e0b3d6dc6e2"><div class="ttname"><a href="a03257.html#a2f741561065791c743a70e0b3d6dc6e2">hModClient</a></div><div class="ttdeci">HANDLE hModClient</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00325">kernel/globals.c:325</a></div></div>
<div class="ttc" id="aa00899_html_a3cf3a1cf5b9a6608c8e58da3048d46a8"><div class="ttname"><a href="a00899.html#a3cf3a1cf5b9a6608c8e58da3048d46a8">xxxClientLoadImage</a></div><div class="ttdeci">HANDLE xxxClientLoadImage(PUNICODE_STRING pstrName, ATOM atomModName, WORD wImageType, int cxSize, int cySize, UINT LR_flags, BOOL fWallpaper)</div></div>
<div class="ttc" id="aa00623_html_a574fd931f19a38d5c30d9fe1787ffcf5"><div class="ttname"><a href="a00623.html#a574fd931f19a38d5c30d9fe1787ffcf5">DestroyClass</a></div><div class="ttdeci">void DestroyClass(PPCLS ppcls)</div><div class="ttdef"><b>Definition:</b> <a href="a00623_source.html#l01089">class.c:1089</a></div></div>
<div class="ttc" id="aa03638_html_a0f352eeb287eff80ca03bb5947be417e"><div class="ttname"><a href="a03638.html#a0f352eeb287eff80ca03bb5947be417e">ghbrGray</a></div><div class="ttdeci">HBRUSH ghbrGray</div><div class="ttdef"><b>Definition:</b> <a href="a03638_source.html#l00025">client/random.c:25</a></div></div>
<div class="ttc" id="aa00821_html_ae5c839c2e30886c3c4f0fbdcf01edda8"><div class="ttname"><a href="a00821.html#ae5c839c2e30886c3c4f0fbdcf01edda8">FastGetProfileStringFromIDW</a></div><div class="ttdeci">DWORD FastGetProfileStringFromIDW(UINT idSection, UINT idKey, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD cch)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00684">profile.c:684</a></div></div>
<div class="ttc" id="aa00719_html_abadfb326c0062a86c27ca931bd156f80"><div class="ttname"><a href="a00719.html#abadfb326c0062a86c27ca931bd156f80">LW_BrushInit</a></div><div class="ttdeci">VOID LW_BrushInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01045">init.c:1045</a></div></div>
<div class="ttc" id="aa03257_html_a8bad277911a130818be3a899ed20bb47"><div class="ttname"><a href="a03257.html#a8bad277911a130818be3a899ed20bb47">hrgnInv1</a></div><div class="ttdeci">HRGN hrgnInv1</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00454">kernel/globals.c:454</a></div></div>
<div class="ttc" id="aa00365_html_a53c20597d266d359ab770510e8ff6aff"><div class="ttname"><a href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a></div><div class="ttdeci">struct tagWND WND</div></div>
<div class="ttc" id="aa00719_html_aa6a4ca775f97490e22f8ecac65cdc03f"><div class="ttname"><a href="a00719.html#aa6a4ca775f97490e22f8ecac65cdc03f">UpdateSystemCursorsFromRegistry</a></div><div class="ttdeci">VOID UpdateSystemCursorsFromRegistry(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00899">init.c:899</a></div></div>
<div class="ttc" id="aa02513_html_a481a03e7eb24994f1eca28391f9b7c77"><div class="ttname"><a href="a02513.html#a481a03e7eb24994f1eca28391f9b7c77">tagSERVERINFO::cySysFontChar</a></div><div class="ttdeci">int cySysFontChar</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01014">user.h:1014</a></div></div>
<div class="ttc" id="aa03257_html_a4ae1966258068576cf2be4cc7356924b"><div class="ttname"><a href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a></div><div class="ttdeci">HANDLE hModuleWin</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00324">kernel/globals.c:324</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a00719.html">init.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
